* Add patch to prevent over linking
rhbz # 818587 Thanks Rex Dieter for the patch!
This commit is contained in:
parent
1e88e0fe0e
commit
a065cb6ef4
13
libgexiv2-pkgconf.patch
Normal file
13
libgexiv2-pkgconf.patch
Normal 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
|
||||||
|
|
@ -1,12 +1,13 @@
|
|||||||
Name: libgexiv2
|
Name: libgexiv2
|
||||||
Version: 0.5.0
|
Version: 0.5.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
|
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://trac.yorba.org/wiki/gexiv2
|
URL: http://trac.yorba.org/wiki/gexiv2
|
||||||
Source0: http://yorba.org/download/gexiv2/0.5/%{name}-%{version}.tar.xz
|
Source0: http://yorba.org/download/gexiv2/0.5/%{name}-%{version}.tar.xz
|
||||||
|
Patch0: %{name}-pkgconf.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: exiv2-devel gobject-introspection-devel libtool
|
BuildRequires: exiv2-devel gobject-introspection-devel libtool
|
||||||
@ -29,6 +30,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}"; export CFLAGS
|
CFLAGS="%{optflags}"; export CFLAGS
|
||||||
@ -66,6 +68,9 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 11 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-3
|
||||||
- Enable introspection for py support
|
- Enable introspection for py support
|
||||||
- add new files for introspection
|
- add new files for introspection
|
||||||
|
Loading…
Reference in New Issue
Block a user