diff --git fts-rest/fts-rest.spec fts-rest/fts-rest.spec.tmp index 6fc1bd94d6..c4ae1f4528 100644 --- fts-rest/fts-rest.spec +++ fts-rest/fts-rest.spec.tmp @@ -5,7 +5,7 @@ Name: fts-rest Version: 3.6.3 -Release: 2%{?dist} +Release: 3%{?dist} BuildArch: noarch Summary: FTS3 Rest Interface Group: System Environment/Daemon @@ -47,6 +47,13 @@ BuildRequires: python-slimit BuildRequires: pandoc BuildRequires: python-dirq +%global _description\ +This package provides the FTS3 REST interface + +%description %_description + +%package -n python2-fts +Summary: %summary Requires: gridsite%{?_isa} >= 1.7 Requires: httpd%{?_isa} Requires: mod_wsgi @@ -57,9 +64,12 @@ Requires: python-pylons Requires: python-simplejson%{?_isa} Requires: gfal2-python%{?_isa} Requires: python-requests +%{?python_provide:%python_provide python2-fts} +# Remove before F30 +Provides: fts-rest%{?_isa} = %{version}-%{release} +Obsoletes: fts-rest < %{version}-%{release} -%description -This package provides the FTS3 REST interface +%description -n python2-fts %_description %package cloud-storage Summary: FTS3 Rest Cloud Storage extensions @@ -203,7 +213,7 @@ Author-email: fts-devel@cern.ch License: Apache2 EOF -%files +%files -n python2-fts %dir %{python_sitelib}/fts3rest/ %{python_sitelib}/fts3rest.egg-info/* @@ -297,6 +307,10 @@ EOF %doc LICENSE %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 3.6.3-3 +- Python 2 binary package renamed to python2-fts-rest + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Jul 26 2017 Fedora Release Engineering - 3.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild