|
|
7ded5c3 |
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
Jerry James |
74909a2 |
%global with_py3 1
|
|
Jerry James |
74909a2 |
%endif
|
|
Jerry James |
74909a2 |
|
|
|
8d62ba0 |
%global srcname ZODB3
|
|
Jerry James |
74909a2 |
|
|
|
8d62ba0 |
Name: python-%{srcname}
|
|
Jerry James |
74909a2 |
Version: 3.11.0
|
|
|
b6e5258 |
Release: 7%{?dist}
|
|
|
5298d1a |
Summary: Zope Object Database: Object Database and Persistence
|
|
|
5298d1a |
License: ZPLv2.1
|
|
|
5298d1a |
URL: http://www.zodb.org/
|
|
|
6d42de9 |
Source0: http://files.pythonhosted.org/packages/source/Z/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
Jerry James |
74909a2 |
BuildArch: noarch
|
|
|
5298d1a |
|
|
|
6d42de9 |
BuildRequires: python2-BTrees
|
|
|
6d42de9 |
BuildRequires: python2-devel
|
|
|
6d42de9 |
BuildRequires: python2-persistent
|
|
|
6d42de9 |
BuildRequires: python2-setuptools
|
|
|
55c78f5 |
BuildRequires: python-transaction
|
|
|
6d42de9 |
BuildRequires: python2-ZEO
|
|
|
6d42de9 |
BuildRequires: python2-ZODB
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
BuildRequires: python3-BTrees
|
|
Jerry James |
74909a2 |
BuildRequires: python3-devel
|
|
Jerry James |
74909a2 |
BuildRequires: python3-persistent
|
|
Jerry James |
74909a2 |
BuildRequires: python3-setuptools
|
|
Jerry James |
74909a2 |
BuildRequires: python3-transaction
|
|
Jerry James |
74909a2 |
BuildRequires: python3-ZEO
|
|
Jerry James |
74909a2 |
BuildRequires: python3-ZODB
|
|
Jerry James |
74909a2 |
%endif
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
%global common_desc \
|
|
Jerry James |
74909a2 |
The Zope Object Database provides an object-oriented database for Python \
|
|
Jerry James |
74909a2 |
that provides a high-degree of transparency. Applications can take \
|
|
Jerry James |
74909a2 |
advantage of object database features with few, if any, changes to \
|
|
Jerry James |
74909a2 |
application logic. ZODB includes features such as a pluggable storage \
|
|
|
5298d1a |
interface, rich transaction support, and undo.
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%description
|
|
Jerry James |
74909a2 |
%{common_desc}
|
|
|
5298d1a |
|
|
|
8d62ba0 |
%package -n python2-%{srcname}
|
|
|
8d62ba0 |
Summary: Client-server storage implementation for ZODB
|
|
|
6d42de9 |
Requires: python2-BTrees
|
|
|
6d42de9 |
Requires: python2-persistent
|
|
|
8d62ba0 |
Requires: python-transaction
|
|
|
6d42de9 |
Requires: python2-ZEO
|
|
|
6d42de9 |
Requires: python2-ZODB
|
|
|
8d62ba0 |
|
|
|
8d62ba0 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
8d62ba0 |
|
|
|
8d62ba0 |
%description -n python2-%{srcname}
|
|
|
8d62ba0 |
%{common_desc}
|
|
|
8d62ba0 |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
|
8d62ba0 |
%package -n python3-%{srcname}
|
|
Jerry James |
74909a2 |
Summary: Client-server storage implementation for ZODB
|
|
Jerry James |
74909a2 |
Requires: python3-BTrees
|
|
Jerry James |
74909a2 |
Requires: python3-persistent
|
|
Jerry James |
74909a2 |
Requires: python3-transaction
|
|
Jerry James |
74909a2 |
Requires: python3-ZEO
|
|
Jerry James |
74909a2 |
Requires: python3-ZODB
|
|
|
5298d1a |
|
|
|
8d62ba0 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
8d62ba0 |
|
|
|
8d62ba0 |
%description -n python3-%{srcname}
|
|
Jerry James |
74909a2 |
%{common_desc}
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%prep
|
|
Jerry James |
74909a2 |
%setup -q -c
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
# Remove prebuilt egg
|
|
|
8d62ba0 |
rm -fr %{srcname}-%{version}/%{srcname}.egg-info
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
# Fix encodings
|
|
|
8d62ba0 |
for fil in %{srcname}-%{version}/HISTORY.txt; do
|
|
Jerry James |
74909a2 |
iconv -f ISO-8859-1 -t UTF-8 $fil > $fil.utf8
|
|
Jerry James |
74909a2 |
touch -r $fil $fil.utf8
|
|
Jerry James |
74909a2 |
mv -f $fil.utf8 $fil
|
|
|
5298d1a |
done
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
# Prepare for a python3 build
|
|
|
8d62ba0 |
cp -a %{srcname}-%{version} python3-%{srcname}-%{version}
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%build
|
|
Jerry James |
74909a2 |
# Python 2 build
|
|
|
8d62ba0 |
pushd %{srcname}-%{version}
|
|
|
8d62ba0 |
%py2_build
|
|
Jerry James |
74909a2 |
popd
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
# Python 3 build
|
|
|
8d62ba0 |
pushd python3-%{srcname}-%{version}
|
|
|
8d62ba0 |
%py3_build
|
|
Jerry James |
74909a2 |
popd
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%install
|
|
Jerry James |
74909a2 |
# Python 2 install
|
|
|
8d62ba0 |
pushd %{srcname}-%{version}
|
|
|
8d62ba0 |
%py2_install
|
|
|
5298d1a |
popd
|
|
|
5298d1a |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
Jerry James |
74909a2 |
# Python 3 install
|
|
|
8d62ba0 |
pushd python3-%{srcname}-%{version}
|
|
|
8d62ba0 |
%py3_install
|
|
Jerry James |
74909a2 |
popd
|
|
Jerry James |
74909a2 |
%endif
|
|
|
55c78f5 |
|
|
|
8d62ba0 |
%files -n python2-%{srcname}
|
|
|
8d62ba0 |
%doc %{srcname}-%{version}/CHANGES.txt %{srcname}-%{version}/HISTORY.txt
|
|
|
8d62ba0 |
%doc %{srcname}-%{version}/README.txt
|
|
|
8d62ba0 |
%{python2_sitelib}/%{srcname}*
|
|
Jerry James |
74909a2 |
|
|
Jerry James |
74909a2 |
%if 0%{?with_py3}
|
|
|
8d62ba0 |
%files -n python3-%{srcname}
|
|
|
8d62ba0 |
%doc %{srcname}-%{version}/CHANGES.txt %{srcname}-%{version}/HISTORY.txt
|
|
|
8d62ba0 |
%doc %{srcname}-%{version}/README.txt
|
|
|
8d62ba0 |
%{python3_sitelib}/%{srcname}*
|
|
Jerry James |
74909a2 |
%endif
|
|
|
5298d1a |
|
|
|
5298d1a |
%changelog
|
|
|
b6e5258 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-7
|
|
|
b6e5258 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b6e5258 |
|
|
|
ba37ed4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-6
|
|
|
ba37ed4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ba37ed4 |
|
|
|
6d42de9 |
* Thu Dec 22 2016 Jerry James <loganjerry@gmail.com> - 3.11.0-5
|
|
|
6d42de9 |
- Rebuild for Python 3.6
|
|
|
6d42de9 |
|
|
|
172120f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-4
|
|
|
172120f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
172120f |
|
|
|
8d62ba0 |
* Tue Feb 2 2016 Jerry James <loganjerry@gmail.com> - 3.11.0-3
|
|
|
8d62ba0 |
- Comply with latest python packaging guidelines
|
|
|
8d62ba0 |
|
|
|
d44b921 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.0-3
|
|
|
d44b921 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
d44b921 |
|
|
|
92ea9df |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.0-2
|
|
|
92ea9df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
92ea9df |
|
|
Jerry James |
74909a2 |
* Mon Oct 20 2014 Jerry James <loganjerry@gmail.com> - 3.11.0-1
|
|
Jerry James |
74909a2 |
- Update to 3.11.0
|
|
Jerry James |
74909a2 |
|
|
|
15c4ef6 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-7
|
|
|
15c4ef6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
15c4ef6 |
|
|
|
9e5c1ad |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-6
|
|
|
9e5c1ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9e5c1ad |
|
|
Jerry James |
32e21c6 |
* Tue Jul 30 2013 Jerry James <loganjerry@gmail.com> - 3.10.5-5
|
|
Jerry James |
32e21c6 |
- Adapt to versionless _docdir in Rawhide
|
|
Jerry James |
32e21c6 |
|
|
|
8495b35 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-4
|
|
|
8495b35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8495b35 |
|
|
|
017b582 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.5-3
|
|
|
017b582 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
017b582 |
|
|
|
5a0ffbe |
* Tue Jan 10 2012 Jerry James <loganjerry@gmail.com> - 3.10.5-2
|
|
|
5a0ffbe |
- Mass rebuild for Fedora 17
|
|
|
5a0ffbe |
- Switch to the RPM 4.9 style of provides filtering
|
|
|
5a0ffbe |
|
|
|
2b736fc |
* Mon Nov 21 2011 Jerry James <loganjerry@gmail.com> - 3.10.5-1
|
|
|
2b736fc |
- Update to 3.10.5
|
|
|
2b736fc |
|
|
|
1146c47 |
* Fri Nov 18 2011 Jerry James <loganjerry@gmail.com> - 3.10.4-1
|
|
|
1146c47 |
- Update to 3.10.4
|
|
|
1146c47 |
|
|
|
55c78f5 |
* Sun May 1 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.10.3-2
|
|
|
55c78f5 |
- Enable the tests
|
|
|
55c78f5 |
|
|
|
8d36b57 |
* Wed Apr 27 2011 Jerry James <loganjerry@gmail.com> - 3.10.3-1
|
|
|
8d36b57 |
- Update to 3.10.3
|
|
|
8d36b57 |
|
|
|
5298d1a |
* Sun Feb 20 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.10.2-1
|
|
|
5298d1a |
- Update to 3.10.2
|
|
|
5298d1a |
|
|
|
5298d1a |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.1-2
|
|
|
5298d1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5298d1a |
|
|
|
5298d1a |
* Mon Jan 3 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.10.1-1
|
|
|
5298d1a |
- Update to 3.10.1
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Oct 13 2010 Robin Lee <cheeselee@fedoraproject.org> - 3.10.0-1
|
|
|
5298d1a |
- Update to 3.10.0 final
|
|
|
5298d1a |
|
|
|
5298d1a |
* Thu Sep 30 2010 Robin Lee <cheeselee@fedoraproject.org> - 3.10.0-0.6.b7
|
|
|
5298d1a |
- Update to 3.10.0b7
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Sep 29 2010 jkeating - 3.10.0-0.5.b6
|
|
|
5298d1a |
- Rebuilt for gcc bug 634757
|
|
|
5298d1a |
|
|
|
5298d1a |
* Sat Sep 18 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.4.b6
|
|
|
5298d1a |
- Filter out private shared library provides
|
|
|
5298d1a |
- Rearrage the documents
|
|
|
5298d1a |
- Exclude the tests from installation
|
|
|
5298d1a |
|
|
|
5298d1a |
* Thu Sep 9 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.3.b6
|
|
|
5298d1a |
- Update to 3.10.0b6
|
|
|
5298d1a |
- An unused line of comment removed
|
|
|
5298d1a |
- A deeper path used in the find command
|
|
|
5298d1a |
|
|
|
5298d1a |
* Sat Sep 4 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.2.b5
|
|
|
5298d1a |
- Update to 3.10.0b5
|
|
|
5298d1a |
- Use recommended commands to remove shebangs
|
|
|
5298d1a |
- Requires python-setuptools, which is used by generated scripts
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Sep 1 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.0-0.1.b4
|
|
|
5298d1a |
- Update to 3.10.0b4
|
|
|
5298d1a |
- Spec cleaned up
|
|
|
5298d1a |
|
|
|
5298d1a |
* Tue Jun 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.5-2
|
|
|
5298d1a |
- Don't move the text files
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.5-1
|
|
|
5298d1a |
- Update to 3.9.5
|
|
|
5298d1a |
- Take over the review request (#476600).
|
|
|
5298d1a |
- Don't split out per-extension subpackages.
|
|
|
5298d1a |
- BR: python-setuptools added
|
|
|
5298d1a |
- Requires: python-zope-testing removed
|
|
|
5298d1a |
- Make a -devel subpackage to contain all the header files
|
|
|
5298d1a |
- Remove the C source files installed by setup.py
|
|
|
5298d1a |
- Include more documents
|
|
|
5298d1a |
- Don't move the executable scripts
|
|
|
5298d1a |
|
|
|
5298d1a |
* Wed Oct 28 2009 Conrad Meyer <konrad@tylerc.org> - 3.9.3-1
|
|
|
5298d1a |
- Bumped to 3.9.3.
|
|
|
5298d1a |
- Numerous minor fixes from review (#476600).
|
|
|
5298d1a |
- Split into several subpackages.
|
|
|
5298d1a |
|
|
|
5298d1a |
* Mon Dec 15 2008 Conrad Meyer <konrad@tylerc.org> - 3.9.0-0.1.a7
|
|
|
5298d1a |
- Initial package.
|