packaging: fix packaging for CentOS 6
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 29 Aug 2013 09:47:58 +0000 (12:47 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 29 Aug 2013 10:07:05 +0000 (13:07 +0300)
Also, remove the %check and %chanelog sections and reset the Release: tag.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
packaging/python-nose.spec

index 74c194a..63a1de1 100644 (file)
 
 Name:           python-nose
 Version:        0.11.4
-Release:        2%{?dist}
+Release:        0
 Summary:        A discovery-based unittest extension for Python
 
 Group:          Development/Languages
 License:        LGPLv2+ and Public Domain
 URL:            http://somethingaboutorange.com/mrl/projects/nose/
 Source0:        http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
-# Upstream has this change already.
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  python2-devel
+BuildRequires:  python-devel
 %if 0%{?fedora} && 0%{?fedora} < 13
 BuildRequires: python-setuptools-devel
 %else
@@ -82,9 +81,6 @@ cp -a doc reST
 %endif # with_docs
 
 
-%check
-%{__python} selftest.py
-
 
 %clean
 rm -rf %{buildroot}
@@ -105,92 +101,3 @@ rm -rf %{buildroot}
 %endif # with_docs
 
 %changelog
-* Tue Dec 7 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.11.4-2
-- Fix FTBFS with newer coverage
-
-* Thu Oct 21 2010 Luke Macken <lmacken@redhat.com> - 0.11.4-1
-- Update to 0.11.4 (#3630722)
-
-* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.11.3-5
-- add support for building without docs, to avoid a circular build-time
-dependency between this and python-sphinx; disable docs subpackage for now
-- add (apparently) missing BR on python-coverage (appears to be needed
-for %%check)
-- cherrypick upstream compatibility fixes for 2.7
-
-* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.11.3-4
-- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
-
-* Thu May 20 2010 Luke Macken <lmacken@redhat.com> - 0.11.3-3
-- Update URL to http://code.google.com/p/python-nose/
-- Align description to reflect that in setup.py
-- Create a docs subpackage containing HTML & reST documentation
-- Thanks to Gareth Armstrong at HP for the patch
-
-* Thu May 06 2010 Luke Macken <lmacken@redhat.com> - 0.11.3-2
-- Don't hardcode the python version
-
-* Thu May 06 2010 Luke Macken <lmacken@redhat.com> - 0.11.3-1
-- Update to 0.11.3
-- Enable the self tests
-
-* Mon Oct 05 2009 Luke Macken <lmacken@redhat.com> - 0.11.1-2
-- Include the new nosetests-2.6 script as well
-
-* Mon Oct 05 2009 Luke Macken <lmacken@redhat.com> - 0.11.1-1
-- Update to 0.11.1
-
-* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.4-1
-- Update to 0.10.4 to fix 2.6 issues
-
-* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.3-2
-- Rebuild for Python 2.6
-
-* Sat Aug 02 2008 Luke Macken <lmacken@redhat.com> 0.10.3-1
-- Update to 0.10.3
-
-* Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> 0.10.1-1
-- Update to 0.10.1
-
-* Mon Dec  3 2007 Luke Macken <lmacken@redhat.com> 0.10.0-2
-- Add python-setuptools to Requires (Bug #408491)
-
-* Tue Nov 27 2007 Luke Macken <lmacken@redhat.com> 0.10.0-1
-- 0.10.0
-
-* Sun Sep  2 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.3.b1
-- Update for python-setuptools changes in rawhide
-
-* Tue Aug 21 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.2.b1
-- 0.10.0b1
-- Update license tag to LGPLv2
-
-* Fri Jun 20 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.1.a2
-- 0.10.0a2
-
-* Sat Jun  2 2007 Luke Macken <lmacken@redhat.com> 0.9.3-1
-- Latest upstream release
-- Remove python-nose-0.9.2-mandir.patch
-
-* Sat Mar  3 2007 Luke Macken <lmacken@redhat.com> 0.9.2-1
-- Add nosetests(1) manpage, and python-nose-0.9.2-mandir.patch to put it in
-  the correct location.
-- 0.9.2
-
-* Sat Dec  9 2006 Luke Macken <lmacken@redhat.com> 0.9.1-2
-- Rebuild for python 2.5
-
-* Fri Nov 24 2006 Luke Macken <lmacken@redhat.com> 0.9.1-1
-- 0.9.1
-
-* Fri Sep  8 2006 Luke Macken <lmacken@redhat.com> 0.9.0-1
-- 0.9.0
-
-* Wed Apr 19 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.7.2-1
-- Initial RPM release