[pam_mount] use macros

Till Maas till at fedoraproject.org
Wed Jun 6 19:33:45 UTC 2012


commit 8ae29b72a912525645be0605466b65f280e0b0f5
Author: Till Maas <opensource at till.name>
Date:   Wed Jun 6 21:33:39 2012 +0200

    use macros

 pam_mount.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pam_mount.spec b/pam_mount.spec
index e5d6fb4..b930a81 100644
--- a/pam_mount.spec
+++ b/pam_mount.spec
@@ -134,12 +134,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/xml/pam_mount/dtd/pam_mount.conf.xml.dtd
 
 # move to separate package if requested
-%exclude /usr/include/libcryptmount.h
-%exclude /usr/lib64/libcryptmount.la
-%exclude /usr/lib64/libcryptmount.so
+%exclude %{_includedir}/libcryptmount.h
+%exclude %{_libdir}/libcryptmount.la
+%exclude %{_libdir}/libcryptmount.so
 %{_libdir}/libcryptmount.so.0
 %{_libdir}/libcryptmount.so.0.0.0
-%exclude /usr/lib64/pkgconfig/libcryptmount.pc
+%exclude %{_libdir}/pkgconfig/libcryptmount.pc
 
 %changelog
 * Wed Mar 21 2012 Till Maas <opensource at till.name> - 2.13-1


More information about the scm-commits mailing list