summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2021-07-15 17:04:29 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2021-07-15 17:04:29 +0200
commitb1cb34bbdc25b3d56c344f576906c9009891834e (patch)
tree0750771fe47434c328a88ff779d9a9e15195355d
parentpath (diff)
downloadlibrewolf-debian-b1cb34bbdc25b3d56c344f576906c9009891834e.tar.gz
librewolf-debian-b1cb34bbdc25b3d56c344f576906c9009891834e.tar.bz2
librewolf-debian-b1cb34bbdc25b3d56c344f576906c9009891834e.zip
just use it directly, does not work in archive anyway
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--Cargo.toml7
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh11
3 files changed, 7 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5628f8b..a2e73ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,6 @@ variables:
paths:
- "./**/librewolf*.dsc"
- "./**/librewolf*.xz"
- - "./**/Cargo.toml"
.prepare_ubuntu: &prepare_ubuntu
variables:
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..0e6a1bc
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,7 @@
+[package]
+name = "debian"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+cbindgen = "0.19.0"
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index 75c0eb1..b6c2e5e 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -96,17 +96,6 @@ cd "${debian_dir}"
patch -Np1 -i "${CI_PROJECT_DIR}"/cbindgen.patch
cd "${work_dir}"
-cat <<'EOF' >> "${debian_dir}"/Cargo.toml
-[package]
-name = "debian"
-version = "0.1.0"
-edition = "2018"
-
-[dependencies]
-cbindgen = "0.19.0"
-EOF
-
-
# update debian/control file
# update fields and add libjack-dev
sed -i -r "${debian_dir}"/control \
bgstack15