From 72b76eb711a098a9c8e7ee01f31413ffdd303bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 20 Dec 2011 11:30:32 +0000 Subject: [PATCH] replaced lib with %_lib; refs #17 --- libpcscxx.spec.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libpcscxx.spec.in b/libpcscxx.spec.in index de1e3ac..a248436 100644 --- a/libpcscxx.spec.in +++ b/libpcscxx.spec.in @@ -19,7 +19,7 @@ This package contains only the shared libraries required at runtime. %setup -q ./configure --prefix=/usr \ --docdir=/usr/share/doc/packages/@PACKAGENAME@ \ - --libdir=/usr/lib + --libdir=/usr/%_lib %build make @@ -32,7 +32,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -/usr/lib/@PACKAGENAME@.so.* +/usr/%_lib/@PACKAGENAME@.so.* %doc /usr/share/doc/packages/@PACKAGENAME@/AUTHORS /usr/share/doc/packages/@PACKAGENAME@/COPYING @@ -53,10 +53,10 @@ This Package contains all files required for developement. %files devel %defattr(-,root,root,-) -/usr/lib/@PACKAGENAME@.so -/usr/lib/@PACKAGENAME@.a -/usr/lib/pkgconfig -/usr/lib/@PACKAGENAME@.la +/usr/%_lib/@PACKAGENAME@.so +/usr/%_lib/@PACKAGENAME@.a +/usr/%_lib/pkgconfig +/usr/%_lib/@PACKAGENAME@.la /usr/include/ /usr/share/pkgconfig %doc