diff options
author | B. Stack <bgstack15@gmail.com> | 2021-05-06 13:47:07 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-05-06 13:47:07 -0400 |
commit | ec2e954db085157de1dab01524ab77a9cc12b902 (patch) | |
tree | 0cfa4f8aca0b580c922ac74ab2a810692880888c | |
parent | WIP: added a bunch of fixes (diff) | |
download | librewolf-fedora-ec2e954db085157de1dab01524ab77a9cc12b902.tar.gz librewolf-fedora-ec2e954db085157de1dab01524ab77a9cc12b902.tar.bz2 librewolf-fedora-ec2e954db085157de1dab01524ab77a9cc12b902.zip |
produce stable rpm
-rwxr-xr-x | scripts/prep-librewolf-rpm.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/prep-librewolf-rpm.sh b/scripts/prep-librewolf-rpm.sh index f8ab7d4..8e9ef01 100755 --- a/scripts/prep-librewolf-rpm.sh +++ b/scripts/prep-librewolf-rpm.sh @@ -226,11 +226,11 @@ sed -r -i librewolf.spec \ sed -r -i librewolf.spec \ -e '/__sed.*_bindir}\/librewolf$/a%{__sed} -i %{buildroot}%{_bindir}/librewolf \\\' \ -e ' -e "${_seds}" \\\' \ - -e ' -e "/restorecon/{s/\.mozilla\/firefox/\.librewolf/}"' + -e ' -e "/restorecon/{s/\.mozilla\\/firefox/\.librewolf/;}"' # Fix the distribution.ini file sed -r -i librewolf.spec \ - -e '/__cp.*\/distribution$/{ainstall -Dvm644 /dev/stdin %{buildroot}%{mozappdir}/distribution <<END\' \ + -e '/__cp.*\/distribution$/{acat > distribution.ini <<END\' \ -e '[Global]\' \ -e 'id=io.gitlab.librewolf-community\' \ -e 'version=1.0\' \ @@ -240,7 +240,9 @@ sed -r -i librewolf.spec \ -e 'app.distributor="LibreWolf Community"\' \ -e 'app.distributor.channel=librewolf\' \ -e 'app.partner.librewolf=librewolf\' \ - -e 'END' -e ';}' + -e 'END\' \ + -e 'install -Dvm644 distribution.ini %{buildroot}%{mozappdir}/distribution' \ + -e ';}' # Build the src.rpm asset, which is not strictly required for the git repo which COPR can ingest. if test -z "${SKIP_SRC_RPM}" ; then |