From 6bcec061c5043b74e23ecba7dca16143f7955602 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 17 Feb 2009 05:06:17 +0000 Subject: [PATCH] - Added patch to fix CFLAGS in libical.pc. Closes Red Hat Bugzilla bug #484091. --- libical-0.43-pkgconfig.patch | 10 ++++++++++ libical.spec | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 libical-0.43-pkgconfig.patch diff --git a/libical-0.43-pkgconfig.patch b/libical-0.43-pkgconfig.patch new file mode 100644 index 0000000..e1ad667 --- /dev/null +++ b/libical-0.43-pkgconfig.patch @@ -0,0 +1,10 @@ +diff -urNp libical-0.43.orig/libical.pc.in libical-0.43/libical.pc.in +--- libical-0.43.orig/libical.pc.in 2009-02-17 04:49:25.417004884 +0530 ++++ libical-0.43/libical.pc.in 2009-02-17 04:53:38.391008005 +0530 +@@ -7,5 +7,5 @@ Name: libical + Description: An implementation of basic iCAL protocols + Version: @VERSION@ + Libs: -L${libdir} -lical -licalss -licalvcal +-Cflags: -I${includedir}/libical ++Cflags: -I${includedir} + diff --git a/libical.spec b/libical.spec index f48e21f..e58787d 100644 --- a/libical.spec +++ b/libical.spec @@ -1,6 +1,6 @@ Name: libical Version: 0.43 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Reference implementation of the iCalendar data type and serialization format Summary(pl): Implementacja formatu iCalendar @@ -12,6 +12,8 @@ Source0: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar # http://bugs.debian.org/511598 Patch0: %{name}-%{version}-implicit-pointer-conversion.patch Patch1: %{name}-%{version}-makefile.patch +# https://bugzilla.redhat.com/484091 +Patch2: %{name}-%{version}-pkgconfig.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) @@ -48,6 +50,7 @@ korzystajÄ…cych z libical. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %configure --disable-static --enable-reentrant --with-backtrace @@ -104,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/%{name}/vobject.h %changelog +* Tue Feb 17 2009 Debarshi Ray - 0.43-2 +- Added patch to fix CFLAGS in libical.pc. Closes Red Hat Bugzilla bug #484091. + * Tue Jan 13 2009 Debarshi Ray - 0.43-1 - Version bump to 0.43. - Added patch to fix implicit pointer conversion from Debian. Fixes Debian BTS