rpms/nc/devel nc.spec,1.45,1.46

Jan Zeleny jzeleny at fedoraproject.org
Wed Jan 6 15:13:01 UTC 2010


Author: jzeleny

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

Modified Files:
	nc.spec 
Log Message:
spec file updates for merge revision, testing scripts moved


Index: nc.spec
===================================================================
RCS file: /cvs/extras/rpms/nc/devel/nc.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- nc.spec	27 Jul 2009 11:07:32 -0000	1.45
+++ nc.spec	6 Jan 2010 15:13:00 -0000	1.46
@@ -1,7 +1,7 @@
 Summary: Reads and writes data across network connections using TCP or UDP
 Name: nc
 Version: 1.84
-Release: 21%{?dist}
+Release: 22%{?dist}
 URL:	 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
 # source is CVS checkout
 Source0: nc-%{version}.tar.bz2
@@ -19,11 +19,10 @@ Patch10: nc-1.84-gcc4.3.patch
 Patch11: nc-1.84-efficient_reads.patch
 Patch12: nc-1.84-verbose-segfault.patch
 
-License: GPL+
+License: BSD
 Group: Applications/Internet
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glib2-devel
-Requires: glib2
 
 %description
 The nc package contains Netcat (the program is actually nc), a simple
@@ -64,6 +63,10 @@ install -m 755 nc ${RPM_BUILD_ROOT}%{_bi
 install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
 install -m 644 nc.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
 
+install -d ${RPM_BUILD_ROOT}%{_datadir}/nc/scripts
+install -m 755 scripts/* ${RPM_BUILD_ROOT}%{_datadir}/nc/scripts/
+chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/nc/scripts/README
+
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
@@ -71,9 +74,15 @@ rm -rf ${RPM_BUILD_ROOT}
 %defattr(-,root,root)
 %{_bindir}/nc
 %{_mandir}/man1/nc.1*
-%doc README scripts
+%dir %{_datadir}/nc/scripts
+%{_datadir}/nc/scripts/*
+%doc README
 
 %changelog
+* Wed Jan 06 2010 Jan Zeleny <jzeleny at redhat.com> - 1.84-22
+- some updates in spec file in order to complete merge review
+- changed location of testing scripts to /usr/share/nc/scripts
+
 * Mon Jul 27 2009 Jan Zeleny <jzeleny at redhat.com> - 1.84-21
 - fixed segfault when listening to socket and -v enabled (#513925)
 




More information about the fedora-extras-commits mailing list