From dc5a526e559ed50114b74c5fbfdb7189a5ddd7b4 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Fri, 5 Feb 2021 00:35:45 +0100 Subject: modify dsc directly for cargo/rust --- scripts/prep-librewolf-dpkg.sh | 4 ++++ 1 file changed, 4 insertions(+) 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:" -- cgit