summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2021-02-05 00:35:45 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2021-02-05 00:35:51 +0100
commitdc5a526e559ed50114b74c5fbfdb7189a5ddd7b4 (patch)
tree8f1f4bd1c472356f541b1f78ae37be375a1f38ec /scripts
parentallow an older cargo version until 0.48 is in SID (diff)
downloadlibrewolf-debian-dc5a526e559ed50114b74c5fbfdb7189a5ddd7b4.tar.gz
librewolf-debian-dc5a526e559ed50114b74c5fbfdb7189a5ddd7b4.tar.bz2
librewolf-debian-dc5a526e559ed50114b74c5fbfdb7189a5ddd7b4.zip
modify dsc directly for cargo/rust
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index c8554c6..e72410f 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -150,6 +150,8 @@ EOF
# workaround to allow an older cargo version until 0.48 is available in SID
sed -i 's/cargo (>= 0.48),/cargo (>= 0.46),/g' "${debian_dir}"/control.in
sed -i 's/cargo (>= 0.48),/cargo (>= 0.46),/g' "${debian_dir}"/control
+sed -i 's/rustc (>= 1.47),/rustc (>= 1.41),/g' "${debian_dir}"/control
+sed -i 's/rustc (>= 1.47),/rustc (>= 1.41),/g' "${debian_dir}"/control.in
# add patches to debian/patches
mkdir -p "${debian_dir}"/patches/librewolf
@@ -285,6 +287,8 @@ sed -r \
-e '/libasound2-dev/s/libasound2-dev,/libasound2-dev, libjack-dev,/;' \
-e '/^Vcs-/d' \
-e '/^ firefox/s/firefox/librewolf/g' \
+ -e 's/cargo \(>= 0\.48\),/cargo \(>= 0\.46\),/' \
+ -e 's/rustc \(>= 1\.47\),/rustc \(>= 1\.41\),/' \
firefox_"${debian_firefox_version}".dsc > librewolf_"${debian_firefox_version}".dsc
{
echo "Files:"
bgstack15