[snoopy] Use make install

stevetraylen stevetraylen at fedoraproject.org
Mon May 2 11:35:57 UTC 2011


commit b8c8e65e91c4db06df97d8c4b08a8567426412f6
Author: Steve Traylen <steve.traylen at cern.ch>
Date:   Mon May 2 13:09:31 2011 +0200

    Use make install

 snoopy.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/snoopy.spec b/snoopy.spec
index 512e036..8ee4063 100644
--- a/snoopy.spec
+++ b/snoopy.spec
@@ -21,7 +21,7 @@ Logging is done via syslog.
 cp -p %{SOURCE1} .
 
 %build
-%configure
+%configure --libdir=/%{_lib}
 make %{?_smp_mflags}
 
 %post   -p /sbin/ldconfig
@@ -31,8 +31,9 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 # Make install does not respect DESTDIR.
 # so do by hand.
-mkdir -p %{buildroot}/%{_lib}
-install -m 755 snoopy.so %{buildroot}/%{_lib}/snoopy.so
+#mkdir -p %{buildroot}/%{_lib}
+#install -m 755 snoopy.so %{buildroot}/%{_lib}/snoopy.so
+make install DESTDIR=%{buildroot}
 
 %clean
 rm -rf %{buildroot}
@@ -45,6 +46,7 @@ rm -rf %{buildroot}
 %changelog
 * Mon May 2 2012 Steve Traylen <steve.traylen at cern.ch> - 1.8.0-1
 - New upstream 1.8.0
+- Use make install 
 
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.10-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list