rpms/tcpick/devel tcpick.spec,1.7,1.8

Robert Scheck robert at fedoraproject.org
Sun Jan 25 14:49:02 UTC 2009


Author: robert

Update of /cvs/extras/rpms/tcpick/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6833

Modified Files:
	tcpick.spec 
Log Message:
Minor spec file updates regarding Packaging Guidelines



Index: tcpick.spec
===================================================================
RCS file: /cvs/extras/rpms/tcpick/devel/tcpick.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- tcpick.spec	10 Feb 2008 01:16:00 -0000	1.7
+++ tcpick.spec	25 Jan 2009 14:48:31 -0000	1.8
@@ -1,11 +1,11 @@
+Summary:	A tcp stream sniffer, tracker and capturer
 Name: 		tcpick
 Version: 	0.2.1
 Release: 	14%{?dist}
-Summary:  	A tcp stream sniffer, tracker and capturer
 License: 	GPLv2+
 Group: 		Applications/Internet
 URL: 		http://tcpick.sourceforge.net/
-Source:		http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+Source:		http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
 Patch0:		tcpick-0.2.1-CVE-2006-0048.patch
 Patch1:		tcpick-0.2.1-ppc.patch
 Patch2:		tcpick-0.2.1-pointers.patch
@@ -36,12 +36,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
 
 # Move the Italian man page to its correct place
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/it/man8
 mv -f $RPM_BUILD_ROOT%{_mandir}/man8/tcpick_italian.8 $RPM_BUILD_ROOT%{_mandir}/it/man8/tcpick.8
 
+# Convert non-utf8 authors file into utf8
+iconv -f iso-8859-1 -t utf-8 -o AUTHORS.utf8 AUTHORS
+touch -c -r AUTHORS AUTHORS.utf8; mv -f AUTHORS.utf8 AUTHORS
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 




More information about the fedora-extras-commits mailing list