From a1b72465c18a404c477c812c564eb203ea264162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 9 Oct 2018 22:38:09 +0200 Subject: [PATCH] Python2 binary package has been removed --- python-XStatic-Jasmine.spec | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/python-XStatic-Jasmine.spec b/python-XStatic-Jasmine.spec index 5fea3b106d..b82560c779 100644 --- a/python-XStatic-Jasmine.spec +++ b/python-XStatic-Jasmine.spec @@ -6,7 +6,7 @@ Name: python-%{pypi_name} Version: 2.4.1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Jasmine (XStatic packaging standard) License: MIT @@ -22,27 +22,6 @@ This package is intended to be used by any project that needs these files. It intentionally does not provide any extra code except some metadata nor has any extra requirements. -%package -n python2-%{pypi_name} -Summary: %{summary} - -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -Requires: python2-XStatic -Requires: xstatic-jasmine-common - -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -JavaScript library packaged for setuptools (easy_install) / pip. - -This package is intended to be used by any project that needs these files. - -It intentionally does not provide any extra code except some metadata -nor has any extra requirements. - -This package provides Python 2 build of %{pypi_name}. - %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: %{summary} @@ -88,13 +67,11 @@ This package contains the javascript files. sed -i "s|^BASE_DIR = .*|BASE_DIR = '%{_jsdir}/jasmine'|" xstatic/pkg/jasmine/__init__.py %build -%py2_build %if 0%{?with_python3} %py3_build %endif %install -%py2_install mkdir -p %{buildroot}%{_jsdir}/jasmine mv %{buildroot}%{python2_sitelib}/xstatic/pkg/jasmine/data/* %{buildroot}%{_jsdir}/jasmine rmdir %{buildroot}%{python2_sitelib}/xstatic/pkg/jasmine/data/ @@ -107,12 +84,6 @@ chmod 644 %{buildroot}%{_jsdir}/jasmine/*.js rm -rf %{buildroot}%{python3_sitelib}/xstatic/pkg/jasmine/data %endif -%files -n python2-%{pypi_name} -%doc README.txt -%{python2_sitelib}/xstatic/pkg/jasmine -%{python2_sitelib}/XStatic_Jasmine-%{version}-py%{python2_version}.egg-info -%{python2_sitelib}/XStatic_Jasmine-%{version}-py%{python2_version}-nspkg.pth - %if 0%{?with_python3} %files -n python3-%{pypi_name} %doc README.txt @@ -126,6 +97,10 @@ rm -rf %{buildroot}%{python3_sitelib}/xstatic/pkg/jasmine/data %{_jsdir}/jasmine %changelog +* Tue Oct 09 2018 Zbigniew Jędrzejewski-Szmek - 2.4.1.1-5 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Jul 13 2018 Fedora Release Engineering - 2.4.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -- 2.19.0.rc1