diff --git python-husl/python-husl.spec python-husl/python-husl.spec.tmp index 797a4ac511..866fd2a932 100644 --- python-husl/python-husl.spec +++ python-husl/python-husl.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{upname} Version: 4.0.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A Python implementation of HUSL License: MIT @@ -14,10 +14,18 @@ BuildArch: noarch BuildRequires: python2-devel python-setuptools BuildRequires: python3-devel python3-setuptools -%description -HUSL is a human-friendly alternative to HSL (Hue, Saturation and Lightness) +%global _description\ +HUSL is a human-friendly alternative to HSL (Hue, Saturation and Lightness)\ color space. This package provides Python2 support +%description %_description + +%package -n python2-%{upname} +Summary: %summary +%{?python_provide:%python_provide python2-%{upname}} + +%description -n python2-%{upname} %_description + %package -n python3-%{upname} Summary: A Python implementation of HUSL BuildRequires: python3-devel python3-setuptools @@ -53,7 +61,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-%{upname} %doc README.md %license LICENSE.txt %{python2_sitelib}/husl* @@ -65,6 +73,10 @@ popd %{python3_sitelib}/__pycache__/* %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 4.0.3-6 +- Python 2 binary package renamed to python2-husl + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 4.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild