diff --git a/libgexiv2.spec b/libgexiv2.spec index 94686d2..6fb2acc 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -1,6 +1,6 @@ Name: libgexiv2 Version: 0.10.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library License: GPLv2+ @@ -13,7 +13,7 @@ BuildRequires: libtool BuildRequires: python2-devel BuildRequires: python-gobject-base BuildRequires: vala -%if !0%{?rhel} +%if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: python3-devel BuildRequires: python3-gobject-base %endif @@ -41,7 +41,7 @@ Obsoletes: libgexiv2-python2 < 0.10.4 %description -n python2-gexiv2 This package contains the python2 bindings for %{name} -%if !0%{?rhel} +%if 0%{?fedora} || 0%{?rhel} > 7 %package -n python3-gexiv2 Summary: Python3 bindings for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} @@ -92,13 +92,16 @@ make check %files -n python2-gexiv2 %{python2_sitearch}/gi/overrides/GExiv2.py* -%if !0%{?rhel} +%if 0%{?fedora} || 0%{?rhel} > 7 %files -n python3-gexiv2 %{python3_sitearch}/gi/overrides/GExiv2.py %{python3_sitearch}/gi/overrides/__pycache__/GExiv2* %endif %changelog +* Thu Dec 07 2017 Merlin Mathesius - 0.10.6-4 +- Cleanup spec file conditionals + * Thu Aug 03 2017 Fedora Release Engineering - 0.10.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild