avoid wildcards in %files

This commit is contained in:
David Tardon 2013-04-21 09:37:01 +02:00
parent c63e9419f8
commit 8919367c9b

View File

@ -1,3 +1,6 @@
%global apiversion 0.9
%global streamname %{name}-stream
Name: libwpd Name: libwpd
Summary: Library for reading and converting WordPerfect documents Summary: Library for reading and converting WordPerfect documents
Version: 0.9.7 Version: 0.9.7
@ -54,16 +57,21 @@ LD_LIBRARY_PATH=../lib/.libs make check
%files %files
%doc COPYING.LGPL COPYING.MPL CREDITS README %doc COPYING.LGPL COPYING.MPL CREDITS README
%{_libdir}/*.so.* %{_libdir}/%{name}-%{apiversion}.so.*
%{_libdir}/%{streamname}-%{apiversion}.so.*
%files tools %files tools
%{_bindir}/wpd2* %{_bindir}/wpd2html
%{_bindir}/wpd2raw
%{_bindir}/wpd2text
%files devel %files devel
%doc HACKING TODO %doc HACKING TODO
%{_libdir}/*.so %{_libdir}/%{name}-%{apiversion}.so
%{_libdir}/pkgconfig/* %{_libdir}/%{streamname}-%{apiversion}.so
%{_includedir}/libwpd-0.9 %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
%{_libdir}/pkgconfig/%{streamname}-%{apiversion}.pc
%{_includedir}/%{name}-%{apiversion}
%changelog %changelog
* Sun Apr 21 2013 David Tardon <dtardon@redhat.com> - 0.9.7-1 * Sun Apr 21 2013 David Tardon <dtardon@redhat.com> - 0.9.7-1