From c85ab307da080e1607018ee7888acd447e71d3d0 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Sat, 23 Mar 2019 12:30:17 +0530 Subject: [PATCH] Removed python2 subpackage --- fonttools.spec | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/fonttools.spec b/fonttools.spec index 5c70470..b446b1c 100644 --- a/fonttools.spec +++ b/fonttools.spec @@ -10,7 +10,7 @@ Version: 3.39.0 Release: 1%{?dist} Summary: Tools to manipulate font files License: MIT -URL: https://github.com/%{name}/%{name}/ +URL: https://github.com/fonttools/fonttools/ Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.zip Requires: python3-fonttools @@ -21,16 +21,6 @@ Provides: ttx = %{version}-%{release} %description %{desc} -%package -n python2-fonttools -Summary: Python 2 fonttools library -%{?python_provide:%python_provide python2-%{name}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools_scm -BuildArch: noarch - -%description -n python2-fonttools -%{desc} - %package -n python3-fonttools Summary: Python 3 fonttools library %{?python_provide:%python_provide python3-%{name}} @@ -52,27 +42,18 @@ rm -rf *.egg-info sed -i '1d' Lib/fontTools/mtiLib/__init__.py %build -%py2_build %py3_build %install -%{__python2} setup.py install --skip-build --root %{buildroot} %{__python3} setup.py install --skip-build --root %{buildroot} %files -%{_bindir}/pyftinspect %{_bindir}/pyftmerge %{_bindir}/pyftsubset %{_bindir}/ttx %{_bindir}/fonttools %{_mandir}/man1/ttx.1* -%files -n python2-fonttools -%license LICENSE -%doc NEWS.rst README.rst -%{python2_sitelib}/fontTools -%{python2_sitelib}/%{name}-%{version}-py2.?.egg-info - %files -n python3-fonttools %license LICENSE %doc NEWS.rst README.rst @@ -82,6 +63,7 @@ sed -i '1d' Lib/fontTools/mtiLib/__init__.py %changelog * Sat Mar 23 2019 Parag Nemade - 3.39.0-1 - Update to 3.39.0 version (#1690561) +- Removed python2 package * Mon Feb 18 2019 Parag Nemade - 3.38.0-1 - Update to 3.38.0 version (#1678366)