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