rpms/gengetopt/devel gengetopt-2.20-from-debian.patch, NONE, 1.1 gengetopt.spec, 1.1, 1.2

Debarshi Ray (rishi) fedora-extras-commits at redhat.com
Fri Jul 6 21:55:13 UTC 2007


Author: rishi

Update of /cvs/pkgs/rpms/gengetopt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26718

Modified Files:
	gengetopt.spec 
Added Files:
	gengetopt-2.20-from-debian.patch 
Log Message:
Updated to 2.20-1 in devel.
 
 Modified Files:
	gengetopt.spec 
 Added Files:
 	gengetopt-2.20-from-debian.patch 


gengetopt-2.20-from-debian.patch:

--- NEW FILE gengetopt-2.20-from-debian.patch ---
diff -urNp gengetopt-2.19.1.orig/doc/README.example gengetopt-2.19.1/doc/README.example
--- gengetopt-2.19.1.orig/doc/README.example	1970-01-01 05:30:00.000000000 +0530
+++ gengetopt-2.19.1/doc/README.example	2007-06-10 16:57:03.000000000 +0530
@@ -0,0 +1,12 @@
+#!/bin/sh -v
+
+# commands to try the C++ example:
+
+gengetopt -isample1.ggo -Fcmdline1 --long-help -u c++ -o main1 main1.cc cmdline1.c
+./main1 --help
+
+# commands to try the C example: 
+
+gengetopt --input=sample2.ggo --func-name=my_cmdline_parser --file-name=cmdline2 --unamed-opts
+gcc -o main2 main2.c cmdline2.c
+./main2 -h


Index: gengetopt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gengetopt/devel/gengetopt.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gengetopt.spec	14 Jun 2007 03:01:50 -0000	1.1
+++ gengetopt.spec	6 Jul 2007 21:54:38 -0000	1.2
@@ -1,14 +1,13 @@
 Summary: Tool to write command line option parsing code for C programs
 Name: gengetopt
-Version: 2.19.1
-Release: 3%{dist}
+Version: 2.20
+Release: 1%{dist}
 License: GPL
 Group: Development/Tools
 URL: http://www.gnu.org/software/gengetopt/
 Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
 
 Patch0: %{name}-%{version}-from-debian.patch
-Patch1: %{name}-%{version}-man.patch
 
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
@@ -27,7 +26,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %configure
@@ -40,9 +38,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
 
+# To retain timestamps on files installed without any modification.
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
+
 rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
 
 # Move /usr/share/doc/gengetopt/examples to RPM_BUILD_DIR.
@@ -77,6 +76,9 @@
 %{_datadir}/%{name}/gnugetopt.h
 
 %changelog
+* Mon Jun 12 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.20-1
+- Version bump to 2.20.
+
 * Mon Jun 12 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.19.1-3
 - Added 'BuildRequires: ...' for check stanza.
 - Added a check stanza.




More information about the scm-commits mailing list