Minor spec file optimization inherited from libburn

This commit is contained in:
Robert Scheck 2017-08-24 15:53:29 +02:00
parent 6270f038b5
commit 785583cf5e
2 changed files with 1 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/libisofs-1.?.?.tar.gz /libisofs-*.tar.gz

View File

@ -87,20 +87,17 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%doc AUTHORS COPYRIGHT README %doc AUTHORS COPYRIGHT README
%{_libdir}/%{name}*.so.* %{_libdir}/%{name}*.so.*
%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}/ %{_includedir}/%{name}/
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}*.pc %{_libdir}/pkgconfig/%{name}*.pc
%files doc %files doc
%defattr(-,root,root,-)
%doc doc/html/ %doc doc/html/
%changelog %changelog