summaryrefslogtreecommitdiff
path: root/palemoon/palemoon.spec
diff options
context:
space:
mode:
Diffstat (limited to 'palemoon/palemoon.spec')
-rw-r--r--palemoon/palemoon.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/palemoon/palemoon.spec b/palemoon/palemoon.spec
index a0b97f5..7de11a1 100644
--- a/palemoon/palemoon.spec
+++ b/palemoon/palemoon.spec
@@ -27,6 +27,11 @@
%define scl_buildreq devtoolset-7-toolchain
%endif
+# suppress binary strippping on el6 which fails for some reason
+%if 0%{?el6}
+ %global __os_install_post %{nil}
+%endif
+
%if 0%{stackrpms_custom}
Name: palemoon-stackrpms
Summary: Pale Moon web browser with stackrpms prefs
@@ -35,7 +40,7 @@ Summary: Pale Moon web browser with stackrpms prefs
Name: palemoon
Summary: Pale Moon web browser
%endif
-Version: 28.4.0
+Version: 28.4.1
Release: 1
Group: Networking/Web
@@ -46,8 +51,9 @@ Source1: palemoon-mozconfig
Source2: palemoon.desktop
Source3: palemoon-mimeinfo.xml
%if 0%{stackrpms_custom}
-Source4: bgstack15-prefs.js
+Source4: bgstack15-palemoon-prefs.js
Patch0: small-icons.patch
+Patch1: bgstack15-palemoon.patch
%endif
Packager: Bgstack15 <bgstack15@gmail.com>
@@ -103,6 +109,7 @@ and themes to make the browser truly your own.
%if 0%{stackrpms_custom}
%patch0 -p1
+%patch1 -p1
%endif
%build
@@ -135,6 +142,11 @@ rm -rf %{buildroot}
installdir=%{_libdir}/%{name} \
sdkdir=%{_libdir}/%{name}-devel \
install
+ rm -rf %{buildroot}%{_datadir}/idl \
+ %{buildroot}%{_libdir}/%{name}-devel \
+ %{buildroot}%{_includedir} || :
+ # remove vestigial duplicate file
+ rm -rf %{buildroot}%{_libdir}/%{name}/%{appname}-bin || :
%endif
%if "%{?scl_env}" != ""
popd || :
bgstack15