diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-06 21:56:27 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-06 21:56:27 +0000 |
commit | 80abe6fb5a1e627064b1787ecf227e14ceb51904 (patch) | |
tree | a99f996cb8c3dd9398b57a4810ba441d4b3a1ccc /waterfox-ublock-origin/waterfox-ublock-origin.spec | |
parent | Merge branch 'xcur2png-bump' into 'master' (diff) | |
parent | ublock: fix filenames used for rpm (diff) | |
download | stackrpms-80abe6fb5a1e627064b1787ecf227e14ceb51904.tar.gz stackrpms-80abe6fb5a1e627064b1787ecf227e14ceb51904.tar.bz2 stackrpms-80abe6fb5a1e627064b1787ecf227e14ceb51904.zip |
Merge branch 'ublock-bump' into 'master'
ublock 1.16.4.19
See merge request bgstack15/stackrpms!132
Diffstat (limited to 'waterfox-ublock-origin/waterfox-ublock-origin.spec')
-rw-r--r-- | waterfox-ublock-origin/waterfox-ublock-origin.spec | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/waterfox-ublock-origin/waterfox-ublock-origin.spec b/waterfox-ublock-origin/waterfox-ublock-origin.spec index f717808..6005740 100644 --- a/waterfox-ublock-origin/waterfox-ublock-origin.spec +++ b/waterfox-ublock-origin/waterfox-ublock-origin.spec @@ -4,7 +4,7 @@ %global app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} Name: %{app_name}-ublock-origin -Version: 1.16.4.18 +Version: 1.16.4.19 Release: 1 Summary: uBlock Origin installed to system Waterfox extensions directory @@ -12,7 +12,7 @@ Group: Applications/Internet License: GPLv3+ and LGPLv3 and MIT and OFL URL: https://github.com/gorhill/uBlock Source0: README.md -Source1: https://github.com/gorhill/uBlock-for-firefox-legacy/releases/download/firefox-legacy-%{version}/uBlock0.firefox-legacy.xpi +Source1: https://github.com/gorhill/uBlock-for-firefox-legacy/releases/download/firefox-legacy-%{version}/uBlock0_%{version}.firefox-legacy.xpi BuildRequires: unzip BuildRequires: coreutils BuildArch: noarch @@ -37,10 +37,10 @@ EasyPrivacy, and Peter Lowe's ad/tracking/malware servers. # learn extension id to name the file %{__unzip} -o %{SOURCE1} install.rdf newfilename="$( grep 'em:id' install.rdf 2>/dev/null | head -n1 | sed -r -e 's/^.*<em:id>//;' -e 's/<\/em:id>.*$//;' ).xpi" -test -z "${newfilename}" && newfilename="$( basename %{SOURCE0} )" +test -z "${newfilename}" && newfilename="$( basename %{SOURCE1} )" mkdir -p %{buildroot}%{moz_extensions}/%{app_id} -install -Dp -m0644 %{SOURCE0} %{buildroot}%{moz_extensions}/%{app_id}/${newfilename} +install -Dp -m0644 %{SOURCE1} %{buildroot}%{moz_extensions}/%{app_id}/${newfilename} rm -rf install.rdf @@ -52,6 +52,9 @@ rm -rf %{buildroot} %{moz_extensions}/*/*.xpi %changelog +* Tue Mar 03 2020 B Stack <bgstack15@gmail.com> - 1.16.4.19-1 +- Update + * Tue Feb 18 2020 B Stack <bgstack15@gmail.com> - 1.16.4.18-1 - Update |