use %_lib in rpm spec; refs #10

master
Marc Wäckerlin 13 years ago
parent 2bad956fc6
commit a63ffb0161
  1. 12
      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

Loading…
Cancel
Save