Cleanup spec file conditionals
This commit is contained in:
parent
696b64e2dd
commit
e223c48993
@ -1,6 +1,6 @@
|
|||||||
Name: libgexiv2
|
Name: libgexiv2
|
||||||
Version: 0.10.6
|
Version: 0.10.6
|
||||||
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
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -13,7 +13,7 @@ BuildRequires: libtool
|
|||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-gobject-base
|
BuildRequires: python-gobject-base
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
%if !0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-gobject-base
|
BuildRequires: python3-gobject-base
|
||||||
%endif
|
%endif
|
||||||
@ -41,7 +41,7 @@ Obsoletes: libgexiv2-python2 < 0.10.4
|
|||||||
%description -n python2-gexiv2
|
%description -n python2-gexiv2
|
||||||
This package contains the python2 bindings for %{name}
|
This package contains the python2 bindings for %{name}
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
%package -n python3-gexiv2
|
%package -n python3-gexiv2
|
||||||
Summary: Python3 bindings for %{name}
|
Summary: Python3 bindings for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
@ -92,13 +92,16 @@ make check
|
|||||||
%files -n python2-gexiv2
|
%files -n python2-gexiv2
|
||||||
%{python2_sitearch}/gi/overrides/GExiv2.py*
|
%{python2_sitearch}/gi/overrides/GExiv2.py*
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
%files -n python3-gexiv2
|
%files -n python3-gexiv2
|
||||||
%{python3_sitearch}/gi/overrides/GExiv2.py
|
%{python3_sitearch}/gi/overrides/GExiv2.py
|
||||||
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
|
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 07 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.10.6-4
|
||||||
|
- Cleanup spec file conditionals
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-3
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user