Blame SPECS/python-zope-interface.spec

b2691f
%global debug_package %{nil}
adb559
adb559
Name:		python-zope-interface
b2691f
Version:	5.4.0
b2691f
Release:	1%{?dist}
adb559
Summary:	Zope 3 Interface Infrastructure
adb559
License:	ZPLv2.1
b2691f
URL:		https://pypi.io/project/zope.interface
b2691f
Source0:	https://pypi.io/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
adb559
adb559
%description
adb559
Interfaces are a mechanism for labeling objects as conforming to a given API
adb559
or contract.
adb559
adb559
This is a separate distribution of the zope.interface package used in Zope 3.
adb559
adb559
%package -n python3-zope-interface
adb559
Summary:	Zope 3 Interface Infrastructure
b2691f
%{?python_provide:%python_provide python3-zope-interface}
b2691f
b2691f
BuildRequires:  python3-devel
b2691f
BuildRequires:  python3-setuptools
b2691f
BuildRequires:  python3-zope-event
b2691f
BuildRequires:  python3-zope-testing
b2691f
b2691f
Requires:       python3-zope-event
adb559
adb559
%description -n python3-zope-interface
adb559
Interfaces are a mechanism for labeling objects as conforming to a given API
adb559
or contract.
adb559
adb559
This is a separate distribution of the zope.interface package used in Zope 3.
adb559
adb559
%prep
adb559
%setup -n zope.interface-%{version} -q
adb559
rm -rf %{modname}.egg-info
adb559
adb559
%build
b2691f
%py3_build
adb559
adb559
%install
b2691f
%py3_install
adb559
# Will put docs in %%{_docdir} instead
b2691f
%{__rm} -f %{buildroot}%{python3_sitearch}/zope/interface/*.txt
adb559
# C files don't need to be packaged
adb559
%{__rm} -f %{buildroot}%{python3_sitearch}/zope/interface/_zope_interface_coptimizations.c
adb559
adb559
%check
b2691f
# We have to run tests installed together with the package
b2691f
# https://github.com/zopefoundation/zope.interface/issues/196
b2691f
pushd %{buildroot}%{python3_sitearch}
b2691f
PURE_PYTHON=1 python3 -m unittest discover -s zope/interface -t .
adb559
popd
b2691f
adb559
%files -n python3-zope-interface
b2691f
%doc README.rst CHANGES.rst COPYRIGHT.txt docs/
b2691f
%license LICENSE.txt
adb559
%{python3_sitearch}/zope/interface/
adb559
# Co-own %%{python3_sitearch}/zope/
adb559
%dir %{python3_sitearch}/zope/
adb559
%exclude %{python3_sitearch}/zope/interface/tests/
adb559
%exclude %{python3_sitearch}/zope/interface/common/tests/
adb559
%{python3_sitearch}/zope.interface-*.egg-info
adb559
%{python3_sitearch}/zope.interface-*-nspkg.pth
adb559
adb559
%changelog
b2691f
* Thu Apr 29 2021 Lumír Balhar <lbalhar@redhat.com> - 5.4.0-1
b2691f
- Update to 5.4.0 (#1949876)
b2691f
b2691f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-2
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b2691f
b2691f
* Thu Nov 19 2020 Lumír Balhar <lbalhar@redhat.com> - 5.2.0-1
b2691f
- Update to 5.2.0 (#1894930)
b2691f
b2691f
* Fri Oct 02 2020 Lumír Balhar <lbalhar@redhat.com> - 5.1.2-1
b2691f
- Update to 5.1.2 (#1883998)
b2691f
b2691f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-3
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b2691f
b2691f
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 5.1.0-2
b2691f
- Rebuilt for Python 3.9
b2691f
b2691f
* Thu Apr 09 2020 Lumír Balhar <lbalhar@redhat.com> - 5.1.0-1
b2691f
- Update to 5.1.0 (#1822171)
b2691f
b2691f
* Fri Mar 20 2020 Lumír Balhar <lbalhar@redhat.com> - 5.0.2-1
b2691f
- Update to 5.0.2 (#1815086)
b2691f
b2691f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.1-2
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b2691f
b2691f
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 4.7.1-1
b2691f
- Update to 4.7.1 (#1771185)
b2691f
b2691f
* Fri Oct 25 2019 Lumír Balhar <lbalhar@redhat.com> - 4.6.0-5
b2691f
- Python 2 subpackage removed
b2691f
b2691f
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-4
b2691f
- Rebuilt for Python 3.8.0rc1 (#1748018)
b2691f
b2691f
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-3
b2691f
- Rebuilt for Python 3.8
b2691f
b2691f
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.0-2
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b2691f
b2691f
* Tue Feb 05 2019 Lumír Balhar <lbalhar@redhat.com> - 4.6.0-1
b2691f
- New upstream version
b2691f
b2691f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-3
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b2691f
b2691f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-2
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b2691f
b2691f
* Wed Jul 11 2018 Lumír Balhar <lbalhar@redhat.com> - 4.5.0-1
b2691f
- New upstream version
b2691f
- Specfile cleanup
b2691f
b2691f
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 4.4.3-2
b2691f
- Rebuilt for Python 3.7
b2691f
b2691f
* Tue Feb 06 2018 Lumír Balhar <lbalhar@redhat.com> - 4.4.3-1
b2691f
- New upstream release
b2691f
b2691f
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 4.3.3-7
b2691f
- Cleanup spec file conditionals
b2691f
b2691f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.3-6
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b2691f
b2691f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.3-5
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b2691f
b2691f
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.3.3-4
b2691f
- Rebuild due to bug in RPM (RHBZ #1468476)
b2691f
b2691f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.3-3
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b2691f
b2691f
* Wed Dec 21 2016 Jerry James <loganjerry@gmail.com> - 4.3.3-2
b2691f
- Rebuild for Python 3.6 again
b2691f
b2691f
* Wed Dec 14 2016 Ralph Bean <rbean@redhat.com> - 4.3.3-1
b2691f
- new version
b2691f
b2691f
* Mon Dec 12 2016 Stratakis Charalampos <cstratak@redhat.com> - 4.3.2-2
b2691f
- Rebuild for Python 3.6
b2691f
b2691f
* Tue Sep 27 2016 Ralph Bean <rbean@redhat.com> - 4.3.2-1
b2691f
- new version
b2691f
b2691f
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-2
b2691f
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b2691f
b2691f
* Tue Jun 28 2016 Ralph Bean <rbean@redhat.com> - 4.2.0-1
b2691f
- new version
b2691f
b2691f
* Tue Jun 28 2016 Ralph Bean <rbean@redhat.com> - 4.1.3-5
b2691f
- Modernize python macros.
b2691f
- Provide an explicit python2 subpackage.
b2691f
b2691f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-4
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b2691f
b2691f
* Thu Jan 28 2016 Dan Horák <dan[at]danny.cz> - 4.1.3-3
b2691f
- make Python3 support more modular
b2691f
b2691f
* Wed Nov 04 2015 Matej Stuchlik <mstuchli@redhat.com> - 4.1.3-2
b2691f
- Rebuilt for Python 3.5
b2691f
b2691f
* Mon Oct 05 2015 Ralph Bean <rbean@redhat.com> - 4.1.3-1
b2691f
- new version
b2691f
b2691f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-2
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b2691f
b2691f
* Wed Feb 18 2015 Ralph Bean <rbean@redhat.com> - 4.1.2-1
b2691f
- new version
b2691f
b2691f
* Wed Aug 20 2014 Ralph Bean <rbean@redhat.com> - 4.1.1-1
b2691f
- Latest upstream.
b2691f
- Modernized python macros.
b2691f
b2691f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-4
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b2691f
b2691f
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-3
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b2691f
b2691f
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 4.1.0-2
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
4684c9
b2691f
* Wed Feb 12 2014 Ralph Bean <rbean@redhat.com> - 4.1.0-1
b2691f
- Latest upstream.
b2691f
- Change .zip back to .tar.gz.
b2691f
- Drop fedora 12 conditional.
4684c9
b2691f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.5-2
b2691f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
adb559
adb559
* Thu Apr 11 2013 Luke Macken <lmacken@redhat.com> - 4.0.5-1
adb559
- Update to 4.0.5 (#891046)
adb559
- Run the unit tests with nose
adb559
adb559
* Tue Mar 26 2013 David Malcolm <dmalcolm@redhat.com> - 4.0.4-2
adb559
- remove rhel clause from python3 guard
adb559
adb559
* Mon Feb 25 2013 Ralph Bean <rbean@redhat.com> - 4.0.4-1
adb559
- Latest upstream
adb559
- README and CHANGES moved from .txt to .rst.
adb559
adb559
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.2-5
adb559
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
adb559
adb559
* Thu Dec 06 2012 Ralph Bean <rbean@redhat.com> - 4.0.2-4
adb559
- Wrap files section in a python3 conditional.
adb559
adb559
* Thu Nov 29 2012 Ralph Bean <rbean@redhat.com> - 4.0.2-3
adb559
- Typofix to python-zope-event requirement.
adb559
adb559
* Thu Nov 29 2012 Ralph Bean <rbean@redhat.com> - 4.0.2-2
adb559
- Added dependency on python-zope-event.
adb559
adb559
* Wed Nov 28 2012 Ralph Bean <rbean@redhat.com> - 4.0.2-1
adb559
- Latest upstream release.
adb559
- Python3 subpackage.
adb559
- Rearrange the way we package docs.
adb559
adb559
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.0-2
adb559
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
adb559
adb559
* Sat Jan  7 2012 Robin Lee <cheeselee@fedoraproject.org> - 3.7.0-1
adb559
- Update to 3.7.0 (ZTK 1.1.3)
adb559
adb559
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.1-8
adb559
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
adb559
adb559
* Mon Oct  4 2010 Robin Lee <cheeselee@fedoraproject.org> - 3.6.1-7
adb559
- Obsoletes python-zope-filesystem
adb559
adb559
* Wed Sep 29 2010 jkeating - 3.6.1-6
adb559
- Rebuilt for gcc bug 634757
adb559
adb559
* Sun Sep 19 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-5
adb559
- Move the texts files to %%doc
adb559
- Exclude the tests from installation
adb559
- Filter private shared library provides
adb559
adb559
* Wed Sep 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-4
adb559
- Run the test suite
adb559
- Don't move the text files
adb559
adb559
* Tue Aug 31 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-3
adb559
- Remove python-zope-filesystem from requirements
adb559
- Own %%{python_sitearch}/zope/
adb559
- BR: python-setuptools-devel renamed to python-setuptools
adb559
- Spec cleaned up
adb559
adb559
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.6.1-2
adb559
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
adb559
adb559
* Tue Jun 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-1
adb559
- update to 3.6.1
adb559
- License provided in the source package
adb559
- include the tests
adb559
adb559
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.2-2
adb559
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
adb559
adb559
* Sun Jul 05 2009 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 3.5.2-1
adb559
- update to 3.5.2
adb559
adb559
* Mon Jun 01 2009 Luke Macken <lmacken@redhat.com> 3.5.1-3
adb559
- Add python-setuptools-devel to the BuildRequires, so we generate egg-info
adb559
adb559
* Sun Apr 05 2009 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 3.5.1-2
adb559
- use correct source filename (upstream switched from zip to tar.gz)
adb559
adb559
* Sun Apr 05 2009 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 3.5.1-1
adb559
- update to 3.5.1
adb559
adb559
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-4
adb559
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
adb559
adb559
* Wed Dec 17 2008 Conrad Meyer <konrad@tylerc.org> - 3.5.0-3
adb559
- Make compatible with the new python-zope-filesystem.
adb559
adb559
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.5.0-2
adb559
- Rebuild for Python 2.6
adb559
adb559
* Sat Nov 15 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 3.5.0-1
adb559
- update to 3.5.0
adb559
adb559
* Mon Mar 31 2008 Paul Howarth <paul@city-fan.org> 3.4.1-1
adb559
- update to 3.4.1
adb559
- incorporate suggestions from Felix Schwarz:
adb559
  - new summary and description
adb559
  - new upstream URL (old one out of date)
adb559
  - don't package test files
adb559
  - include more documentation
adb559
adb559
* Mon Mar 31 2008 Paul Howarth <paul@city-fan.org> 3.3.0-1
adb559
- update to 3.3.0
adb559
- update source URL to include versioned directory and new tarball name
adb559
- drop the gcc 4.x compatibility patch, no longer needed
adb559
- don't run the test suite as it now depends on zope.testing
adb559
- exclude _zope_interface_coptimizations.c source from the binary package
adb559
adb559
* Thu Feb 14 2008 Paul Howarth <paul@city-fan.org> 3.0.1-10
adb559
- rebuild with gcc 4.3.0 for Fedora 9
adb559
adb559
* Fri Jan  4 2008 Paul Howarth <paul@city-fan.org> 3.0.1-9
adb559
- tweak %%files list to pull in egg info file when necessary
adb559
- fix permissions on shared objects (silence rpmlint)
adb559
adb559
* Wed Aug 29 2007 Paul Howarth <paul@city-fan.org> 3.0.1-8
adb559
- update license tag to ZPLv2.1 in anticipation of this tag being approved
adb559
adb559
* Sat Dec  9 2006 Paul Howarth <paul@city-fan.org> 3.0.1-7
adb559
- rebuild against python 2.5 for Rawhide
adb559
adb559
* Tue Oct 31 2006 Paul Howarth <paul@city-fan.org> 3.0.1-6
adb559
- add %%check section
adb559
adb559
* Wed Sep 20 2006 Paul Howarth <paul@city-fan.org> 3.0.1-5
adb559
- dispense with %%{pybasever} macro and python-abi dependency, not needed from
adb559
  FC4 onwards
adb559
- include ZPL 2.1 license text
adb559
- add reference in %%description to origin of patch
adb559
- change License: tag from "ZPL 2.1" to "Zope Public License" to shut rpmlint up
adb559
adb559
* Thu Aug 31 2006 Paul Howarth <paul@city-fan.org> 3.0.1-4
adb559
- files list simplified as .pyo files are no longer %%ghost-ed
adb559
adb559
* Tue May  9 2006 Paul Howarth <paul@city-fan.org> 3.0.1-3
adb559
- import from PyVault Repository
adb559
- rewrite in Fedora Extras style
adb559
adb559
* Tue Aug 23 2005 Jeff Pitman <symbiont+pyvault@berlios.de> 3.0.1-2
adb559
- add bug fix for gcc 4
adb559
adb559
* Mon Feb 07 2005 Jeff Pitman <symbiont+pyvault@berlios.de> 3.0.1-1
adb559
- new rpm
adb559