Blame SPECS/python-sqlalchemy.spec

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