* Add patch to prevent over linking

rhbz # 818587

Thanks Rex Dieter for the patch!
This commit is contained in:
Ankur Sinha (Ankur Sinha Gmail) 2013-03-19 23:34:11 +11:00
parent 1e88e0fe0e
commit a065cb6ef4
2 changed files with 19 additions and 1 deletions

13
libgexiv2-pkgconf.patch Normal file
View File

@ -0,0 +1,13 @@
diff -up libgexiv2-0.4.1/gexiv2.m4.pkgconfig libgexiv2-0.4.1/gexiv2.m4
--- libgexiv2-0.4.1/gexiv2.m4.pkgconfig 2012-03-28 17:41:52.000000000 -0500
+++ libgexiv2-0.4.1/gexiv2.m4 2012-05-03 08:07:39.951487246 -0500
@@ -5,7 +5,7 @@ includedir=${prefix}/include
Name: GExiv2
Description: GObject bindings for exiv2
-Requires: exiv2 glib-2.0 gobject-2.0
+Requires.private: exiv2 glib-2.0 gobject-2.0
Version: _VERSION_
Libs: -L${libdir} -lgexiv2
Cflags: -I${includedir}/gexiv2 -I${libdir}/gexiv2/include

View File

@ -1,12 +1,13 @@
Name: libgexiv2
Version: 0.5.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
Group: System Environment/Libraries
License: GPLv2
URL: http://trac.yorba.org/wiki/gexiv2
Source0: http://yorba.org/download/gexiv2/0.5/%{name}-%{version}.tar.xz
Patch0: %{name}-pkgconf.patch
BuildRequires: exiv2-devel gobject-introspection-devel libtool
@ -29,6 +30,7 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1
%build
CFLAGS="%{optflags}"; export CFLAGS
@ -66,6 +68,9 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
%changelog
* Tue Mar 19 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-4
- Add patch to remove overlinking rhbz#818587
* Mon Mar 11 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-3
- Enable introspection for py support
- add new files for introspection