rpms/collectl/F-11 collectl.spec,1.12,1.13

Dan Horák sharkcz at fedoraproject.org
Mon Jun 29 17:55:59 UTC 2009


Author: sharkcz

Update of /cvs/pkgs/rpms/collectl/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26790

Modified Files:
	collectl.spec 
Log Message:
* Mon Jun 29 2009 Dan Horák <dan[at]danny.cz> 3.3.4-2
- install only a symlink into /usr/bin (#508724)



Index: collectl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/collectl/F-11/collectl.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- collectl.spec	15 Jun 2009 08:05:58 -0000	1.12
+++ collectl.spec	29 Jun 2009 17:55:28 -0000	1.13
@@ -1,7 +1,7 @@
 Summary: A utility to collect various linux performance data
 Name: collectl
 Version: 3.3.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+ or Artistic
 Group: Applications/System
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tar.gz
@@ -35,11 +35,7 @@ done
 
 
 %build
-cat > %{name} << EOF
-#!/bin/sh
-cd %{_libexecdir}/%{name}
-exec /usr/bin/perl %{name}.pl \$@
-EOF
+# nothing to do
 
 
 %clean
@@ -60,7 +56,7 @@ mkdir -p        $RPM_BUILD_ROOT%{_initrd
 
 # install the files, setting the mode
 
-install -p -m 755  collectl          $RPM_BUILD_ROOT%{_bindir}
+ln -sf %{_libexecdir}/%{name}/%{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
 install -p -m 755  collectl.pl       $RPM_BUILD_ROOT%{_libexecdir}/%{name}
 install -p -m 644  *.ph              $RPM_BUILD_ROOT%{_libexecdir}/%{name}
 install -p -m 644  envrules.std      $RPM_BUILD_ROOT%{_libexecdir}/%{name}
@@ -99,6 +95,9 @@ fi
 
 
 %changelog
+* Mon Jun 29 2009 Dan Horák <dan[at]danny.cz> 3.3.4-2
+- install only a symlink into /usr/bin (#508724)
+
 * Mon Jun 15 2009 Dan Horák <dan[at]danny.cz> 3.3.4-1
 - upgrade to upstream version 3.3.4
 - changelog: http://collectl.sourceforge.net/Releases.html




More information about the fedora-extras-commits mailing list