From 7260cdc747251e60b4d5b25582620441e19eb71c Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 21 Apr 2013 09:43:44 +0200 Subject: [PATCH] avoid wildcards in %files --- libwpg.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libwpg.spec b/libwpg.spec index 79e4b11..20eba6b 100644 --- a/libwpg.spec +++ b/libwpg.spec @@ -1,3 +1,5 @@ +%global apiversion 0.2 + Name: libwpg Version: 0.2.2 Release: 1%{?dist} @@ -67,19 +69,21 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %files %doc AUTHORS ChangeLog COPYING.LGPL COPYING.MPL -%{_libdir}/*.so.* +%{_libdir}/%{name}-%{apiversion}.so.* %files devel %doc docs/doxygen/html -%{_includedir}/* -%{_libdir}/*.so -%{_libdir}/pkgconfig/*.pc +%{_includedir}/%{name}-%{apiversion} +%{_libdir}/%{name}-%{apiversion}.so +%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc %files tools %doc COPYING.LGPL COPYING.MPL -%{_bindir}/* +%{_bindir}/wpg2raw +%{_bindir}/wpg2svg +%{_bindir}/wpg2svgbatch.pl %changelog