Subpackage python2-rjsmin has been removed

This commit is contained in:
Miro Hrončok 2019-01-22 13:05:38 +01:00
parent ef751f0d8f
commit db49540fc3

View File

@ -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 <mhroncok@redhat.com> - 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 <releng@fedoraproject.org> - 1.0.12-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild