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