|
|
4c80b2 |
%{?scl:%scl_package python-sqlalchemy}
|
|
|
4c80b2 |
%{!?scl:%global pkg_name %{name}}
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%global srcname SQLAlchemy
|
|
|
4c80b2 |
|
|
|
4c80b2 |
Name: %{?scl_prefix}python-sqlalchemy
|
|
|
4c80b2 |
Version: 0.7.9
|
|
|
7b4534 |
Release: 4%{?dist}
|
|
|
4c80b2 |
Summary: Modular and flexible ORM library for python
|
|
|
4c80b2 |
|
|
|
4c80b2 |
Group: Development/Libraries
|
|
|
4c80b2 |
License: MIT
|
|
|
4c80b2 |
URL: http://www.sqlalchemy.org/
|
|
|
4c80b2 |
Source0: http://pypi.python.org/packages/source/S/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
4c80b2 |
# Fix failure in fips mode if index name is too long
|
|
|
4c80b2 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1054676
|
|
|
4c80b2 |
Patch0: %{pkg_name}-dont-fail-in-fips-mode.patch
|
|
|
4c80b2 |
# Fix import logging.handlers in test suite
|
|
|
4c80b2 |
Patch1: %{pkg_name}-fix-test-logging-handlers-import.patch
|
|
|
4c80b2 |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
4c80b2 |
|
|
|
4c80b2 |
BuildRequires: %{?scl_prefix}python2-devel
|
|
|
4c80b2 |
BuildRequires: %{?scl_prefix}python-setuptools
|
|
|
4c80b2 |
BuildRequires: %{?scl_prefix}python-nose
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%description
|
|
|
4c80b2 |
SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible,
|
|
|
4c80b2 |
high-level interface to SQL databases. Database and domain concepts are
|
|
|
4c80b2 |
decoupled, allowing both sides maximum flexibility and power. SQLAlchemy
|
|
|
4c80b2 |
provides a powerful mapping layer that can work as automatically or as manually
|
|
|
4c80b2 |
as you choose, determining relationships based on foreign keys or letting you
|
|
|
4c80b2 |
define the join conditions explicitly, to bridge the gap between database and
|
|
|
4c80b2 |
domain.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
This package includes the python 2 version of the module.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%prep
|
|
|
4c80b2 |
%setup -q -n %{srcname}-%{version}
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%patch0 -p0
|
|
|
4c80b2 |
%patch1 -p1
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%build
|
|
|
4c80b2 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
4c80b2 |
CFLAGS="%{optflags}" %{__python} setup.py --with-cextensions build
|
|
|
4c80b2 |
%{?scl:EOF}
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%install
|
|
|
4c80b2 |
rm -rf %{buildroot}
|
|
|
4c80b2 |
|
|
|
4c80b2 |
mkdir -p %{buildroot}%{python_sitelib}
|
|
|
4c80b2 |
%{?scl:scl enable %{scl} "}
|
|
|
4c80b2 |
%{__python} setup.py --with-cextensions install --skip-build --root %{buildroot}
|
|
|
4c80b2 |
%{?scl:"}
|
|
|
4c80b2 |
|
|
|
4c80b2 |
# remove unnecessary scripts for building documentation
|
|
|
4c80b2 |
rm -rf doc/build
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%clean
|
|
|
4c80b2 |
rm -rf %{buildroot}
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%check
|
|
|
4c80b2 |
%{?scl:scl enable %{scl} "}
|
|
|
4c80b2 |
%{__python} ./sqla_nose.py
|
|
|
4c80b2 |
%{?scl:"}
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%files
|
|
|
4c80b2 |
%defattr(-,root,root,-)
|
|
|
4c80b2 |
%doc README.rst LICENSE PKG-INFO CHANGES doc examples
|
|
|
4c80b2 |
%{python_sitearch}/*
|
|
|
4c80b2 |
|
|
|
4c80b2 |
%changelog
|
|
|
7b4534 |
* Fri May 25 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.7.9-4
|
|
|
7b4534 |
- Rebuild for multi-arch bootstrap
|
|
|
7b4534 |
|
|
|
4c80b2 |
* Fri Jan 17 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.9-3
|
|
|
4c80b2 |
- Fix failure in fips mode if index name is too long.
|
|
|
4c80b2 |
- Also fix newly introduced failures in test suite by missing
|
|
|
4c80b2 |
import logging.handlers.
|
|
|
4c80b2 |
Resolves: rhbz#1054676
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue May 07 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.9-2
|
|
|
4c80b2 |
- Rebuild to generate bytecode properly after fixing rhbz#956289
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Thu Jan 31 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.9-1
|
|
|
4c80b2 |
- Updated to version 0.7.9.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Dec 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.8-3
|
|
|
4c80b2 |
- Rebuilt for PPC
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed Sep 19 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.8-2
|
|
|
4c80b2 |
- Rebuilt for SCL.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Jun 18 2012 Nils Philippsen <nils@redhat.com> - 0.7.8-1
|
|
|
4c80b2 |
- Upstream bugfix release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue May 15 2012 Nils Philippsen <nils@redhat.com> - 0.7.7-1
|
|
|
4c80b2 |
- Upstream bugfix release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Mar 20 2012 Nils Philippsen <nils@redhat.com> - 0.7.6-1
|
|
|
4c80b2 |
- Upstream bugfix release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Jan 30 2012 Nils Philippsen <nils@redhat.com> - 0.7.5-1
|
|
|
4c80b2 |
- Upstream bugfix release
|
|
|
4c80b2 |
- package README.rst instead of README as documentation
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 0.7.3-2
|
|
|
4c80b2 |
- rebuild for gcc 4.7
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Oct 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.7.3-1
|
|
|
4c80b2 |
- Upstream bugfix release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Aug 1 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.7.2-1
|
|
|
4c80b2 |
- Upstream bugfix release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Jun 06 2011 Nils Philippsen <nils@redhat.com> - 0.7.1-1
|
|
|
4c80b2 |
- 0.7.1 Upstream release
|
|
|
4c80b2 |
- no need to fix examples/dynamic_dict/dynamic_dict.py anymore
|
|
|
4c80b2 |
- use sqla_nose.py to fix %%check
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.6-2
|
|
|
4c80b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Jan 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.6-1
|
|
|
4c80b2 |
- 0.6.6 Upstream release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Dec 3 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.5-1
|
|
|
4c80b2 |
- 0.6.5 Upstream release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed Sep 29 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-2
|
|
|
4c80b2 |
- Filter out the C extensions from provides
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Sep 07 2010 Luke Macken <lmacken@redhat.com> - 0.6.4-1
|
|
|
4c80b2 |
- 0.6.4 upstream release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Aug 23 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.3-1
|
|
|
4c80b2 |
- 0.6.3 upstream release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com>
|
|
|
4c80b2 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Thu Jun 24 2010 Nils Philippsen <nils@redhat.com> - 0.6.1-1
|
|
|
4c80b2 |
- 0.6.1 upstream release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Apr 13 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6-0.4.beta3
|
|
|
4c80b2 |
- Build beta3
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Mar 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6-0.3.beta2
|
|
|
4c80b2 |
- Build beta2 with cextension
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sun Mar 7 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6-0.2.beta1
|
|
|
4c80b2 |
- Build python3 package
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Mar 2 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6-0.1.beta1
|
|
|
4c80b2 |
- 0.6 beta1 upstream release
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Feb 2 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.8-3
|
|
|
4c80b2 |
- One last cleanup
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Feb 2 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.8-2
|
|
|
4c80b2 |
- just some cleanups to older styles of building packages.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Feb 1 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.8-1
|
|
|
4c80b2 |
- Upstream bugfix release 0.5.8
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Aug 14 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.5-2
|
|
|
4c80b2 |
- Upstream bugfix release 0.5.5
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2.p2
|
|
|
4c80b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Jun 12 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.4-1.p2
|
|
|
4c80b2 |
- Upstream bugfix release 0.5.4p2.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Thu Apr 16 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.3-1
|
|
|
4c80b2 |
- Upstream bugfix release.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
|
4c80b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed Feb 11 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.2-1
|
|
|
4c80b2 |
- Update to 0.5.2
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed Jan 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5.1-1
|
|
|
4c80b2 |
- Update to 0.5.1.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Dec 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5-0.1.rc4
|
|
|
4c80b2 |
- Update to 0.5.0rc4 which works with the new pysqlite
|
|
|
4c80b2 |
- And update test cases to work with the new pysqlite
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.4.7-2
|
|
|
4c80b2 |
- Rebuild for Python 2.6
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sun Jul 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> 0.4.7-1
|
|
|
4c80b2 |
- Update to 0.4.7.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sun Jun 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> 0.4.6-1
|
|
|
4c80b2 |
- Update to 0.4.6.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Apr 8 2008 Toshio Kuratomi <toshio@fedoraproject.org> 0.4.5-1
|
|
|
4c80b2 |
- Update to 0.4.5.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Feb 22 2008 Toshio Kuratomi <toshio@fedoraproject.org> 0.4.3-1
|
|
|
4c80b2 |
- Update to 0.4.3.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Dec 11 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4.2-1.p3
|
|
|
4c80b2 |
- Update to 0.4.2p3.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Dec 11 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4.1-1
|
|
|
4c80b2 |
- Update to 0.4.1.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed Oct 17 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4.0-1
|
|
|
4c80b2 |
- SQLAlchemy-0.4.0 final
|
|
|
4c80b2 |
- Run the testsuite
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed Oct 3 2007 Luke Macken <lmacken@redhat.com> 0.4.0-0.4.beta6
|
|
|
4c80b2 |
- SQLAlchemy-0.4.0beta6
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Sep 11 2007 Toshio Kuratomi <a.badger@gmail.com> - 0.4.0-0.4.beta5
|
|
|
4c80b2 |
- Update to 0.4beta5.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Sep 06 2007 Toshio Kuratomi <a.badger@gmail.com> - 0.4.0-0.4.beta4
|
|
|
4c80b2 |
- setuptools has been fixed.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Aug 31 2007 Toshio Kuratomi <a.badger@gmail.com> - 0.4.0-0.3.beta4
|
|
|
4c80b2 |
- setuptools seems to be broken WRT having an active and inactive version
|
|
|
4c80b2 |
of an egg. Have to make both versions inactive and manually setup a copy
|
|
|
4c80b2 |
that can be started via import. (Necessary for the sqlalchemy0.3 compat
|
|
|
4c80b2 |
package.)
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Aug 28 2007 Toshio Kuratomi <a.badger@gmail.com> - 0.4.0-0.2.beta4
|
|
|
4c80b2 |
- Modify setuptools to handle the -devel subpackage split in F-8.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Aug 27 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.4.0-0.1.beta4
|
|
|
4c80b2 |
- Update to 0.4 beta4.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Jul 24 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.10-2
|
|
|
4c80b2 |
- Remove python-abi Requires. This is automatic since FC4+.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Jul 24 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.10-1
|
|
|
4c80b2 |
- Update to new upstream version 0.3.10
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Mar 23 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.6-1
|
|
|
4c80b2 |
- Update to new upstream version 0.3.6
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sat Mar 10 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.5-1
|
|
|
4c80b2 |
- Update to new upstream version 0.3.5
|
|
|
4c80b2 |
- Simplify the files listing
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Jan 23 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.4-2
|
|
|
4c80b2 |
- Remember to upload the source tarball to the lookaside cache.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Jan 23 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.4-1
|
|
|
4c80b2 |
- Update to new upstream version 0.3.4
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Jan 01 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.3-1
|
|
|
4c80b2 |
- Update to new upstream version 0.3.3
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sat Dec 09 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.1-2
|
|
|
4c80b2 |
- Bump and rebuild for python 2.5 on devel.
|
|
|
4c80b2 |
- BuildRequire: python-devel as a header is missing otherwise.
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Nov 24 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.1-1
|
|
|
4c80b2 |
- Update to new upstream version 0.3.1
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 0.2.7-2
|
|
|
4c80b2 |
- Rebuild for FC6
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Thu Aug 17 2006 Shahms E. King <shahms@shahms.com> 0.2.7-1
|
|
|
4c80b2 |
- Update to new upstream version
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 0.2.6-2
|
|
|
4c80b2 |
- Include, don't ghost .pyo files per new guidelines
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Tue Aug 08 2006 Shahms E. King <shahms@shahms.com> 0.2.6-1
|
|
|
4c80b2 |
- Update to new upstream version
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Fri Jul 07 2006 Shahms E. King <shahms@shahms.com> 0.2.4-1
|
|
|
4c80b2 |
- Update to new upstream version
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 0.2.3-1
|
|
|
4c80b2 |
- Update to new upstream version
|
|
|
4c80b2 |
|
|
|
4c80b2 |
* Wed May 31 2006 Shahms E. King <shahms@shahms.com> 0.2.1-1
|
|
|
4c80b2 |
- Update to new upstream version
|