diff options
author | B Stack <bgstack15@gmail.com> | 2019-03-28 20:22:32 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-03-28 20:22:32 -0400 |
commit | a5ac6b1d868be7d023f8ee327c7b8220d73b297e (patch) | |
tree | 252480f1193fc4fcb2f54feec4523d14e35fe3d2 /palemoon/palemoon-stackrpms.spec | |
parent | suppress binary stripping on el6 (diff) | |
download | stackrpms-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.spec | 5 |
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 || : |