replaced lib with %_lib; refs #17

master
Marc Wäckerlin 13 years ago
parent 3960ac4d19
commit 72b76eb711
  1. 12
      libpcscxx.spec.in

@ -19,7 +19,7 @@ This package contains only the shared libraries required at runtime.
%setup -q %setup -q
./configure --prefix=/usr \ ./configure --prefix=/usr \
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \ --docdir=/usr/share/doc/packages/@PACKAGENAME@ \
--libdir=/usr/lib --libdir=/usr/%_lib
%build %build
make make
@ -32,7 +32,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
/usr/lib/@PACKAGENAME@.so.* /usr/%_lib/@PACKAGENAME@.so.*
%doc %doc
/usr/share/doc/packages/@PACKAGENAME@/AUTHORS /usr/share/doc/packages/@PACKAGENAME@/AUTHORS
/usr/share/doc/packages/@PACKAGENAME@/COPYING /usr/share/doc/packages/@PACKAGENAME@/COPYING
@ -53,10 +53,10 @@ This Package contains all files required for developement.
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
/usr/lib/@PACKAGENAME@.so /usr/%_lib/@PACKAGENAME@.so
/usr/lib/@PACKAGENAME@.a /usr/%_lib/@PACKAGENAME@.a
/usr/lib/pkgconfig /usr/%_lib/pkgconfig
/usr/lib/@PACKAGENAME@.la /usr/%_lib/@PACKAGENAME@.la
/usr/include/ /usr/include/
/usr/share/pkgconfig /usr/share/pkgconfig
%doc %doc

Loading…
Cancel
Save