diff --git a/libxml-cxx.spec.in b/libxml-cxx.spec.in index e130930..5e80f2a 100644 --- a/libxml-cxx.spec.in +++ b/libxml-cxx.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 @@ -54,10 +54,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