rpms/gc/devel gc-7.0-compat_header.patch, NONE, 1.1 gc.spec, 1.25, 1.26

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Wed Aug 29 15:18:20 UTC 2007


Author: rdieter

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

Modified Files:
	gc.spec 
Added Files:
	gc-7.0-compat_header.patch 
Log Message:
* Wed Aug 29 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 7.0-5
- compat_header patch (supercedes previous pkgconfig patch)


gc-7.0-compat_header.patch:

--- NEW FILE gc-7.0-compat_header.patch ---
diff -up /dev/null gc-7.0/include/extra/gc.h
--- /dev/null	2007-08-28 14:44:51.958644302 -0500
+++ gc-7.0/include/extra/gc.h	2007-08-29 10:02:34.000000000 -0500
@@ -0,0 +1,2 @@
+/* This file is installed for backward compatibility. */
+#include <gc/gc.h>
diff -up /dev/null gc-7.0/include/extra/gc_cpp.h
--- /dev/null	2007-08-28 14:44:51.958644302 -0500
+++ gc-7.0/include/extra/gc_cpp.h	2007-08-29 10:02:34.000000000 -0500
@@ -0,0 +1,2 @@
+/* This file is installed for backward compatibility. */
+#include <gc/gc_cpp.h>
diff -up gc-7.0/include/include.am.compat_header gc-7.0/include/include.am
--- gc-7.0/include/include.am.compat_header	2005-10-10 17:33:34.000000000 -0500
+++ gc-7.0/include/include.am	2007-08-29 10:03:21.000000000 -0500
@@ -52,3 +52,9 @@ dist_noinst_HEADERS += \
 	include/cord.h \
 	include/ec.h \
 	include/javaxfc.h 
+
+# unprefixed header
+include_HEADERS += \
+	include/extra/gc.h \
+	include/extra/gc_cpp.h
+


Index: gc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gc/devel/gc.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- gc.spec	22 Aug 2007 14:15:14 -0000	1.25
+++ gc.spec	29 Aug 2007 15:17:48 -0000	1.26
@@ -3,7 +3,7 @@
 Name:    gc	
 Version: 7.0 
 
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group:   System Environment/Libraries
 License: BSD
 Url:     http://www.hpl.hp.com/personal/Hans_Boehm/gc/	
@@ -11,9 +11,8 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Patch1: gc-7.0-gcinit.patch
-# cflags += %%_includedir/gc
 # http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2007-August/001838.html
-Patch2: gc-7.0-pkgconfig.patch
+Patch2: gc-7.0-compat_header.patch 
 
 # rpmforge compatibility
 Obsoletes: libgc < %{version}-%{release}
@@ -39,7 +38,9 @@
 %setup -q 
 
 %patch1 -p1 -b .gcinit
-%patch2 -p1 -b .pkgconfig
+%patch2 -p1 -b .compat_header
+
+
 
 
 %build
@@ -91,13 +92,17 @@
 %files devel
 %defattr(-,root,root,-)
 %doc doc/*.html
-%{_includedir}/*
+%{_includedir}/*.h
+%{_includedir}/gc/
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*
 %{_mandir}/man?/*
 
 
 %changelog
+* Wed Aug 29 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 7.0-5
+- compat_header patch (supercedes previous pkgconfig patch)
+
 * Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 7.0-4
 - pkgconfig patch (cflags += -I%%_includedir/gc)
 




More information about the scm-commits mailing list