From db49540fc35d2ffc4372ea3daf1fa144dd23a5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Jan 2019 13:05:38 +0100 Subject: [PATCH] Subpackage python2-rjsmin has been removed --- python-rjsmin.spec | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/python-rjsmin.spec b/python-rjsmin.spec index 1b3b5b1..41abf2f 100644 --- a/python-rjsmin.spec +++ b/python-rjsmin.spec @@ -3,16 +3,13 @@ Name: python-%{pypi_name} Version: 1.0.12 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Javascript Minifier License: ASL 2.0 URL: http://opensource.perlig.de/rjsmin/ Source0: https://pypi.python.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz -BuildRequires: python2-devel -BuildRequires: python2-setuptools - BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -30,22 +27,6 @@ runtime (rather than during a preprocessing step). Usually it produces the same results as the original jsmin.c. -%package -n python2-%{pypi_name} -Summary: Javascript Minifier -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -rJSmin is a javascript minifier written in python. - -The minifier is based on the semantics -of jsmin.c by Douglas Crockford. - -The module is a re-implementation aiming -for speed, so it can be used at -runtime (rather than during a preprocessing -step). Usually it produces the -same results as the original jsmin.c. - %package -n python3-%{pypi_name} Summary: Javascript Minifier %{?python_provide:%python_provide python3-%{pypi_name}} @@ -85,7 +66,6 @@ same results as the original jsmin.c. sed -i '1d' rjsmin.py %build -%py2_build %py3_build %install @@ -93,20 +73,10 @@ sed -i '1d' rjsmin.py # overwritten with every setup.py install. %py3_install -%py2_install - # remove upstream developer documentation rm -r %{buildroot}/%{_docdir}/%{pypi_name}/ -%files -n python2-%{pypi_name} -%doc README.rst -%license LICENSE -%{python2_sitearch}/%{pypi_name}.py -%{python2_sitearch}/%{pypi_name}.py[oc] -%{python2_sitearch}/_rjsmin.so -%{python2_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info - %files -n python3-%{pypi_name} %doc README.rst %license LICENSE @@ -119,6 +89,10 @@ rm -r %{buildroot}/%{_docdir}/%{pypi_name}/ %doc README.rst docs %changelog +* Tue Jan 22 2019 Miro HronĨok - 1.0.12-13 +- Subpackage python2-rjsmin has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 1.0.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild