diff options
author | B Stack <bgstack15@gmail.com> | 2019-02-14 17:21:18 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-02-14 17:21:18 -0500 |
commit | f4c85cb8a7847f3a9b4580c35d1ccb5bccc44dfa (patch) | |
tree | 429db3c962d86db55968fc93f3f20e2860f1c373 /palemoon/palemoon.spec | |
parent | palemoon spec use _libdir for prefs.js (diff) | |
download | stackrpms-f4c85cb8a7847f3a9b4580c35d1ccb5bccc44dfa.tar.gz stackrpms-f4c85cb8a7847f3a9b4580c35d1ccb5bccc44dfa.tar.bz2 stackrpms-f4c85cb8a7847f3a9b4580c35d1ccb5bccc44dfa.zip |
split palemoon spec into normal and custom
The actual spec files are the same except the stackrpms_custom
variable. The logic is the same in each one for consistency.
If stackrpms_custom is set, it will add my custom patches and
prefs.js file. Otherwise, build the officially-endorsed build
for Fedora.
Diffstat (limited to 'palemoon/palemoon.spec')
-rw-r--r-- | palemoon/palemoon.spec | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/palemoon/palemoon.spec b/palemoon/palemoon.spec index 46ce8c1..52040d1 100644 --- a/palemoon/palemoon.spec +++ b/palemoon/palemoon.spec @@ -2,7 +2,7 @@ %global dummy_package 0 %global pkgname palemoon %global prettyname Pale Moon Web Browser -%global stackrpms_custom 1 +%global stackrpms_custom 0 # additional repos to get python27 and devtoolset-7 # for el6 and el7: Software Collection;, for x86_64 only @@ -27,10 +27,15 @@ %define scl_buildreq devtoolset-7-toolchain %endif -Name: palemoon -Version: 28.3.1 -Release: 1 +%if 0%{stackrpms_custom} +Name: palemoon-stackrpms +Summary: Pale Moon web browser with stackrpm customization +%else +Name: palemoon Summary: Pale Moon web browser +%endif +Version: 28.3.1 +Release: 2 Group: Networking/Web License: MPLv2.0 @@ -72,7 +77,13 @@ BuildRequires: zip BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version} Provides: mimehandler(application/x-xpinstall) +Provides: palemoon Provides: webclient +%if 0%{stackrpms_custom} +Conflicts: palemoon +%else +Conflicts: palemoon-stackrpms +%endif %description Pale Moon offers you a browsing experience in a browser completely built |