From 216be027d2a93d036b4c53666ab3b0db80e06a77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 20 Dec 2011 11:33:44 +0000 Subject: [PATCH] replaced lib with %_lib; refs #20 --- proxyface.spec.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/proxyface.spec.in b/proxyface.spec.in index 4be1798..4894a09 100644 --- a/proxyface.spec.in +++ b/proxyface.spec.in @@ -1,4 +1,4 @@ -Summary: @PACKAGENAME@ PLEASE DESCRIBE +Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows Name: @PACKAGENAME@ Version: @VERSION@ Release: 1 @@ -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/lib@PACKAGENAME@.so.* +/usr/%_lib/lib@PACKAGENAME@.so.* /usr/share/@PACKAGENAME@ %doc /usr/share/doc/packages/@PACKAGENAME@/AUTHORS @@ -43,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT /usr/share/doc/packages/@PACKAGENAME@/README %package devel -Summary: @PACKAGENAME@ PLEASE DESCRIBE (development files) +Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows (development files) Group: Development/Libraries/C++ Requires: @PACKAGENAME@ = @VERSION@ @@ -54,10 +54,10 @@ This Package contains all files required for developement. %files devel %defattr(-,root,root,-) -/usr/lib/lib@PACKAGENAME@.so -/usr/lib/lib@PACKAGENAME@.a -/usr/lib/pkgconfig -/usr/lib/lib@PACKAGENAME@.la +/usr/%_lib/lib@PACKAGENAME@.so +/usr/%_lib/lib@PACKAGENAME@.a +/usr/%_lib/pkgconfig +/usr/%_lib/lib@PACKAGENAME@.la /usr/include/ /usr/share/pkgconfig %doc