diff --git python-halite/python-halite.spec python-halite/python-halite.spec.tmp index ec46c0e2e3..61d0c4b8dc 100644 --- python-halite/python-halite.spec +++ python-halite/python-halite.spec.tmp @@ -8,7 +8,7 @@ Name: python-halite Version: 0.1.16 -Release: 7%{?dist} +Release: 8%{?dist} Summary: SaltStack Web UI Group: Development/Languages @@ -20,11 +20,18 @@ BuildArch: noarch BuildRequires: python-setuptools +%global _description\ +Halite is a Salt GUI. Status is pre-alpha. Contributions are very welcome. Join\ +us in #salt-devel on Freenode or on the salt-users mailing list. + +%description %_description + +%package -n python2-halite +Summary: %summary Requires: python-cherrypy +%{?python_provide:%python_provide python2-halite} -%description -Halite is a Salt GUI. Status is pre-alpha. Contributions are very welcome. Join -us in #salt-devel on Freenode or on the salt-users mailing list. +%description -n python2-halite %_description %prep %setup -q -n %{_realname}-%{version} @@ -42,11 +49,15 @@ sed -i '1{\@^#!/usr/bin/env python@d}' ${RPM_BUILD_ROOT}%{python_sitelib}/%{_rea chmod 0755 ${RPM_BUILD_ROOT}%{python_sitelib}/%{_realname}/server_bottle.py chmod 0755 ${RPM_BUILD_ROOT}%{python_sitelib}/%{_realname}/genindex.py -%files +%files -n python2-halite %doc $RPM_BUILD_DIR/LICENSE %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.16-8 +- Python 2 binary package renamed to python2-halite + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild