From ee2a5c8ce007f1882708204660f4be25d48555d6 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 21 Apr 2013 09:29:03 +0200 Subject: [PATCH] avoid wildcards in %files --- libwps.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libwps.spec b/libwps.spec index eee2b05..06168bb 100644 --- a/libwps.spec +++ b/libwps.spec @@ -1,3 +1,5 @@ +%global apiversion 0.2 + Name: libwps Version: 0.2.8 Release: 1%{?dist} @@ -82,17 +84,19 @@ LD_LIBRARY_PATH=$(pwd)/src/lib/.libs make check %files %doc COPYING.LGPL COPYING.MPL CREDITS NEWS README -%{_libdir}/*.so.* +%{_libdir}/%{name}-%{apiversion}.so.* %files devel %doc HACKING -%{_includedir}/* -%{_libdir}/*.so -%{_libdir}/pkgconfig/%{name}* +%{_includedir}/%{name}-%{apiversion} +%{_libdir}/%{name}-%{apiversion}.so +%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc %files tools -%{_bindir}/wps2* +%{_bindir}/wps2html +%{_bindir}/wps2raw +%{_bindir}/wps2text %files doc