summaryrefslogtreecommitdiff
path: root/palemoon/palemoon-stackrpms.spec
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-03-28 20:22:32 -0400
committerB Stack <bgstack15@gmail.com>2019-03-28 20:22:32 -0400
commita5ac6b1d868be7d023f8ee327c7b8220d73b297e (patch)
tree252480f1193fc4fcb2f54feec4523d14e35fe3d2 /palemoon/palemoon-stackrpms.spec
parentsuppress binary stripping on el6 (diff)
downloadstackrpms-a5ac6b1d868be7d023f8ee327c7b8220d73b297e.tar.gz
stackrpms-a5ac6b1d868be7d023f8ee327c7b8220d73b297e.tar.bz2
stackrpms-a5ac6b1d868be7d023f8ee327c7b8220d73b297e.zip
WIP: remove unneeded directories for binary package
The dpkg cleans up /usr/share/idl, /usr/lib/palemoon-devel, and /usr/include, and the rpm will try that too.
Diffstat (limited to 'palemoon/palemoon-stackrpms.spec')
-rw-r--r--palemoon/palemoon-stackrpms.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/palemoon/palemoon-stackrpms.spec b/palemoon/palemoon-stackrpms.spec
index ad1fc73..34a22b7 100644
--- a/palemoon/palemoon-stackrpms.spec
+++ b/palemoon/palemoon-stackrpms.spec
@@ -142,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