summaryrefslogtreecommitdiff
path: root/waterfox-ublock-origin/waterfox-ublock-origin.spec
diff options
context:
space:
mode:
Diffstat (limited to 'waterfox-ublock-origin/waterfox-ublock-origin.spec')
-rw-r--r--waterfox-ublock-origin/waterfox-ublock-origin.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/waterfox-ublock-origin/waterfox-ublock-origin.spec b/waterfox-ublock-origin/waterfox-ublock-origin.spec
index bc2afa0..bae3097 100644
--- a/waterfox-ublock-origin/waterfox-ublock-origin.spec
+++ b/waterfox-ublock-origin/waterfox-ublock-origin.spec
@@ -12,6 +12,7 @@ Group: Applications/Internet
License: GPLv3+ and LGPLv3 and MIT and OFL
URL: https://github.com/gorhill/uBlock
Source0: 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.firefox-legacy.xpi
BuildRequires: unzip
BuildRequires: coreutils
BuildArch: noarch
@@ -34,7 +35,7 @@ EasyPrivacy, and Peter Lowe's ad/tracking/malware servers.
%install
# learn extension id to name the file
-%{__unzip} -o %{SOURCE0} install.rdf
+%{__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} )"
bgstack15