From 34b843cdc6d5b0342c2e49cbad54528e8a2274c3 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Oct 20 2018 12:52:43 +0000 Subject: Drop python2 subpackage --- diff --git a/python-nmrglue.spec b/python-nmrglue.spec index c533832..2872db1 100644 --- a/python-nmrglue.spec +++ b/python-nmrglue.spec @@ -3,7 +3,7 @@ Name: python-%{pkgname} Version: 0.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{pkgsum} License: BSD @@ -11,7 +11,6 @@ URL: https://github.com/jjhelmus/%{pkgname} Source0: https://github.com/jjhelmus/%{pkgname}/archive/v%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel BuildRequires: python3-devel # these are required for tests BuildRequires: python3-numpy @@ -24,18 +23,6 @@ nmrglue is a module for working with NMR data in Python. When used with the numpy, scipy, and matplotlib packages nmrglue provides a robust interpreted environment for processing, analyzing, and inspecting NMR data. -%package -n python2-%{pkgname} -Summary: %{pkgsum} -%{?python_provide:%python_provide python2-%{pkgname}} -Requires: python2-numpy -Requires: python2-scipy - -%description -n python2-%{pkgname} -nmrglue is a module for working with NMR data in Python. When used with the -numpy, scipy, and matplotlib packages nmrglue provides a robust interpreted -environment for processing, analyzing, and inspecting NMR data. - - %package -n python3-%{pkgname} Summary: %{pkgsum} %{?python_provide:%python_provide python3-%{pkgname}} @@ -57,38 +44,29 @@ sed -i '/fileio\/tests\/data\//d' setup.py %build -%py2_build %py3_build %install -%py2_install %py3_install %check pushd nmrglue/fileio/tests -# python2 tests -PYTHONPATH="%{buildroot}%{python2_sitelib}" %{__python2} test_pipe.py - #python3 tests PYTHONPATH="%{buildroot}%{python3_sitelib}" %{__python3} test_pipe.py popd - - -%files -n python2-%{pkgname} -%license LICENSE.txt -%doc README.rst TODO.txt -%{python2_sitelib}/* - %files -n python3-%{pkgname} %license LICENSE.txt %doc README.rst TODO.txt %{python3_sitelib}/* %changelog +* Sat Oct 20 2018 Mukundan Ragavan - 0.6-6 +- Drop python2 subpackage + * Sat Jul 14 2018 Fedora Release Engineering - 0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild