diff --git a/mxml-pkgconfig.patch b/mxml-pkgconfig.patch new file mode 100644 index 0000000..6492c9c --- /dev/null +++ b/mxml-pkgconfig.patch @@ -0,0 +1,9 @@ +--- mxml.pc.in.BAD 2009-06-02 01:34:38.246231737 +0100 ++++ mxml.pc.in 2009-06-02 01:35:33.450207895 +0100 +@@ -6,5 +6,5 @@ + Name: Mini-XML + Description: Lightweight XML support library + Version: @VERSION@ +-Libs: @PC_LIBS@ @PHTREAD_LIBS@ ++Libs: @PC_LIBS@ @PTHREAD_LIBS@ + Cflags: @PC_CFLAGS@ @PTHREAD_FLAGS@ diff --git a/mxml.spec b/mxml.spec index 0eb0a86..fa3e576 100644 --- a/mxml.spec +++ b/mxml.spec @@ -1,12 +1,14 @@ Summary: Miniature XML development library Name: mxml Version: 2.5 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.easysw.com/~mike/mxml/ Source0: http://ftp.easysw.com/pub/mxml/%{version}/mxml-%{version}.tar.gz Patch0: mxml-no-rpath.patch +# Fix the typo in .pc file. Already fixed in upstream trunk +Patch1: mxml-pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # This is requires because we patch configure.in. @@ -30,6 +32,7 @@ applications. %prep %setup -q %patch0 -p0 +%patch1 -p0 -b .pthread %build # Run autoconf since we patched configure.in. @@ -74,6 +77,9 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/mxml.pc %changelog +* Wed Oct 28 2009 Orcan Ogetbil - 2.5-5 +- Fix typo in the .pc file (RHBZ#503628). Patch by Robert Szalai + * Sat Jul 25 2009 Fedora Release Engineering - 2.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild @@ -111,7 +117,7 @@ rm -rf %{buildroot} - Fix License (LGPL, not GPL). - Move programming documentation to devel package. - Build shared library, and no static library. -- Add %post(un). +- Add %%post(un). - Remove rpath with mxml-no-rpath.patch. - First Fedora Extras build.