Spec file cleanup

Remove old stuff no longer needed on all active branches
This commit is contained in:
Robert Scheck 2020-12-24 09:56:13 +00:00 committed by Mark Wielaard
parent 181f2d742f
commit 51d4df2439

View File

@ -285,7 +285,6 @@ trap '' EXIT
%make_build -s %make_build -s
%install %install
rm -rf ${RPM_BUILD_ROOT}
%make_install -s %make_install -s
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
@ -336,7 +335,6 @@ fi
%endif %endif
%files %files
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL %license COPYING COPYING-GPLV2 COPYING-LGPLV3 doc/COPYING-GFDL
%doc README TODO CONTRIBUTING %doc README TODO CONTRIBUTING
%{_bindir}/eu-addr2line %{_bindir}/eu-addr2line
@ -359,7 +357,6 @@ fi
%{_mandir}/man1/eu-*.1* %{_mandir}/man1/eu-*.1*
%files libs %files libs
%{!?_licensedir:%global license %%doc}
%license COPYING-GPLV2 COPYING-LGPLV3 %license COPYING-GPLV2 COPYING-LGPLV3
%{_libdir}/libasm-%{version}.so %{_libdir}/libasm-%{version}.so
%{_libdir}/libdw-%{version}.so %{_libdir}/libdw-%{version}.so
@ -385,7 +382,6 @@ fi
%{_libdir}/libasm.a %{_libdir}/libasm.a
%files -f %{name}.lang libelf %files -f %{name}.lang libelf
%{!?_licensedir:%global license %%doc}
%license COPYING-GPLV2 COPYING-LGPLV3 %license COPYING-GPLV2 COPYING-LGPLV3
%{_libdir}/libelf-%{version}.so %{_libdir}/libelf-%{version}.so
%{_libdir}/libelf.so.* %{_libdir}/libelf.so.*
@ -407,21 +403,18 @@ fi
%endif %endif
%files debuginfod-client %files debuginfod-client
%defattr(-,root,root)
%{_libdir}/libdebuginfod-%{version}.so %{_libdir}/libdebuginfod-%{version}.so
%{_libdir}/libdebuginfod.so.* %{_libdir}/libdebuginfod.so.*
%{_bindir}/debuginfod-find %{_bindir}/debuginfod-find
%{_mandir}/man1/debuginfod-find.1* %{_mandir}/man1/debuginfod-find.1*
%files debuginfod-client-devel %files debuginfod-client-devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/libdebuginfod.pc %{_libdir}/pkgconfig/libdebuginfod.pc
%{_mandir}/man3/debuginfod_*.3* %{_mandir}/man3/debuginfod_*.3*
%{_includedir}/elfutils/debuginfod.h %{_includedir}/elfutils/debuginfod.h
%{_libdir}/libdebuginfod.so %{_libdir}/libdebuginfod.so
%files debuginfod %files debuginfod
%defattr(-,root,root)
%{_bindir}/debuginfod %{_bindir}/debuginfod
%config(noreplace) %{_sysconfdir}/sysconfig/debuginfod %config(noreplace) %{_sysconfdir}/sysconfig/debuginfod
%{_unitdir}/debuginfod.service %{_unitdir}/debuginfod.service