rpms/unifdef/devel unifdef-strlcpy.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 unifdef.spec, 1.8, 1.9

Eric Smith brouhaha at fedoraproject.org
Fri Feb 12 01:21:57 UTC 2010


Author: brouhaha

Update of /cvs/pkgs/rpms/unifdef/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15090

Modified Files:
	.cvsignore sources unifdef.spec 
Added Files:
	unifdef-strlcpy.patch 
Log Message:
* Thu Feb 11 2010 Eric Smith <eric at brouhaha.com> 1.334-1
- Remove package name from summary
- Change URL from FreeBSD CVS to project home page
- Update source to upstream 1.334
- No longer need getline() patch
- Use strlcpy from libbsd


unifdef-strlcpy.patch:
 unifdef.c |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE unifdef-strlcpy.patch ---
diff -up unifdef-1.334/unifdef.c.strlcpy unifdef-1.334/unifdef.c
--- unifdef-1.334/unifdef.c.strlcpy	2010-01-19 16:48:31.000000000 -0800
+++ unifdef-1.334/unifdef.c	2010-02-11 16:56:08.000000000 -0800
@@ -56,6 +56,8 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <bsd/string.h>
+
 const char * const copyright[] = {
     "@(#) Copyright (c) 2002 - 2010 Tony Finch (dot at dotat.at)\n",
     "@(#) Latest version available from http://dotat.at/prog/unifdef\n",


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/unifdef/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	15 Jul 2006 03:27:06 -0000	1.2
+++ .cvsignore	12 Feb 2010 01:21:56 -0000	1.3
@@ -1 +1 @@
-unifdef-1.171.tar.bz2
+unifdef-1.334.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/unifdef/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	15 Jul 2006 03:27:06 -0000	1.2
+++ sources	12 Feb 2010 01:21:57 -0000	1.3
@@ -1 +1 @@
-657e97bab7cfed217f3a7c73fba9f1cb  unifdef-1.171.tar.bz2
+051a5bb3df4cddce411db709d0167e3e  unifdef-1.334.tar.gz


Index: unifdef.spec
===================================================================
RCS file: /cvs/pkgs/rpms/unifdef/devel/unifdef.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- unifdef.spec	15 Jan 2010 20:52:09 -0000	1.8
+++ unifdef.spec	12 Feb 2010 01:21:57 -0000	1.9
@@ -1,14 +1,17 @@
-Summary: Unifdef tool for removing ifdef'd lines
+Summary: Tool for removing ifdef'd lines
 Name: unifdef
-Version: 1.171
-Release: 9%{?dist}
+Version: 1.334
+Release: 1%{?dist}
 License: BSD
 Group: Development/Languages
-URL: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/unifdef/
-Source0: unifdef-1.171.tar.bz2
-Patch0: fix-getline-splosion.patch
+URL: http://dotat.at/prog/unifdef/
+Source0: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.gz
+Patch0: unifdef-strlcpy.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRequires: libbsd-devel
+BuildRequires: pkgconfig
+
 %description
 Unifdef is useful for removing ifdefed lines from a file while otherwise
 leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #endif
@@ -20,7 +23,7 @@ is inactive because it is inside a comme
 %patch0 -p1
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
+make CFLAGS="$RPM_OPT_FLAGS `pkg-config --libs libbsd`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -43,8 +46,15 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Feb 11 2010 Eric Smith <eric at brouhaha.com> 1.334-1
+- Remove package name from summary
+- Change URL from FreeBSD CVS to project home page
+- Update source to upstream 1.334
+- No longer need getline() patch
+- Use strlcpy from libbsd
+
 * Fri Jan 15 2010 Kyle McMartin <kyle at redhat.com> 1.171-10
-- fix unifdef ftbfs (rhbz#511553)
+- fix unifdef ftbfs
 
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.171-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild



More information about the scm-commits mailing list