diff --git a/libgexiv2.spec b/libgexiv2.spec index a69f75a..4fe003d 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -3,12 +3,10 @@ Version: 0.10.4 Release: 1%{?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: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz Patch0: %{name}-pkgconf.patch -#Patch1: %{name}-%{version}-Makefile.patch BuildRequires: exiv2-devel BuildRequires: gobject-introspection-devel @@ -59,18 +57,14 @@ This package contains the python3 bindings for %{name} %prep %setup -q -n gexiv2-%{version} %patch0 -p0 -#%patch1 -p0 %build - %configure --enable-tests --enable-introspection --enable-static=no --enable-shared=yes make %{?_smp_mflags} %install -#make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' # move introspection typelib to correct location mkdir -p $RPM_BUILD_ROOT%{_libdir}/girepository-1.0 @@ -103,7 +97,6 @@ mv $RPM_BUILD_ROOT%{_datadir}/gir-1.0/GExiv2-0.10.typelib \ %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/gexiv2.vapi - %files python2 %{python_sitearch}/gi/overrides/GExiv2.py*