|
|
00ce3ba |
# Created by pyp2rpm-1.1.1
|
|
|
00ce3ba |
%global pypi_name testing.postgresql
|
|
|
00ce3ba |
|
|
|
00ce3ba |
Name: python-%{pypi_name}
|
|
|
00ce3ba |
Version: 1.1.0
|
|
|
82c419f |
Release: 16%{?dist}
|
|
|
00ce3ba |
Summary: Automatically setup a PostgreSQL testing instance
|
|
|
00ce3ba |
|
|
|
00ce3ba |
License: ASL 2.0
|
|
|
00ce3ba |
URL: http://bitbucket.org/tk0miya/testing.postgresql
|
|
|
00ce3ba |
Source0: https://pypi.python.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
00ce3ba |
BuildArch: noarch
|
|
|
00ce3ba |
|
|
|
00ce3ba |
BuildRequires: postgresql-server
|
|
|
00ce3ba |
|
|
|
00ce3ba |
BuildRequires: python3-devel
|
|
|
00ce3ba |
BuildRequires: python3-nose
|
|
|
00ce3ba |
BuildRequires: python3-psycopg2
|
|
|
00ce3ba |
|
|
|
00ce3ba |
Requires: postgresql-server
|
|
|
0ea1b5f |
Requires: which
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%description
|
|
|
00ce3ba |
testing.PostgreSQL automatically setups a PostgreSQL instance
|
|
|
00ce3ba |
in a temporary directory, and destroys it after testing.
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%package -n python3-%{pypi_name}
|
|
|
00ce3ba |
Summary: Automatically setup a PostgreSQL testing instance
|
|
|
00ce3ba |
|
|
|
00ce3ba |
Requires: python3-psycopg2
|
|
|
0ea1b5f |
Requires: which
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%description -n python3-%{pypi_name}
|
|
|
00ce3ba |
testing.PostgreSQL automatically setups a PostgreSQL instance
|
|
|
00ce3ba |
in a temporary directory, and destroys it after testing.
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%prep
|
|
|
00ce3ba |
%setup -q -n %{pypi_name}-%{version}
|
|
|
00ce3ba |
# Remove bundled egg-info
|
|
|
00ce3ba |
rm -rf %{pypi_name}.egg-info
|
|
|
00ce3ba |
|
|
|
00ce3ba |
|
|
|
5d7d9e8 |
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%build
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%{__python3} setup.py build
|
|
|
00ce3ba |
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%install
|
|
|
00ce3ba |
# Must do the subpackages' install first because the scripts in /usr/bin are
|
|
|
00ce3ba |
# overwritten with every setup.py install (and we want the python2 version
|
|
|
00ce3ba |
# to be the default for now).
|
|
|
00ce3ba |
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
|
00ce3ba |
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%check
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%{__python3} setup.py test
|
|
|
00ce3ba |
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%files -n python3-%{pypi_name}
|
|
|
00ce3ba |
%doc README.rst LICENSE
|
|
|
00ce3ba |
%{python3_sitelib}/testing
|
|
|
00ce3ba |
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
|
|
00ce3ba |
|
|
|
00ce3ba |
|
|
|
00ce3ba |
%changelog
|
|
|
82c419f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-16
|
|
|
82c419f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
82c419f |
|
|
|
94120d1 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
|
|
|
94120d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
94120d1 |
|
|
|
5d7d9e8 |
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.0-14
|
|
|
5d7d9e8 |
- Python2 binary package has been removed
|
|
|
5d7d9e8 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
5d7d9e8 |
|
|
|
656dc6f |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-13
|
|
|
656dc6f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
656dc6f |
|
|
|
c1a44d9 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-12
|
|
|
c1a44d9 |
- Rebuilt for Python 3.7
|
|
|
c1a44d9 |
|
|
|
0ea1b5f |
* Thu Mar 15 2018 Martin Kutlak <mkutlak@redhat.com> - 1.1.0-11
|
|
|
0ea1b5f |
- Add a missing dependency on which (BZ#1455202)
|
|
|
0ea1b5f |
|
|
|
0956829 |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.0-10
|
|
|
0956829 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
0956829 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
0956829 |
|
|
|
33cf877 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
|
|
33cf877 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
33cf877 |
|
|
|
7603792 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
|
7603792 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7603792 |
|
|
|
b6bcc48 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
|
|
|
b6bcc48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b6bcc48 |
|
|
|
1d98b2b |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-6
|
|
|
1d98b2b |
- Rebuild for Python 3.6
|
|
|
1d98b2b |
|
|
|
0d119ba |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
|
|
|
0d119ba |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
0d119ba |
|
|
|
beadb10 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
|
|
beadb10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
beadb10 |
|
|
|
30e1855 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
30e1855 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
30e1855 |
|
|
|
af4e04b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
af4e04b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
af4e04b |
|
|
|
00ce3ba |
* Thu Jan 08 2015 Richard Marko <rmarko@fedoraproject.org> - 1.1.0-1
|
|
|
00ce3ba |
- Initial package
|