92e1224
%global pypi_name django-appconf
cb61d2c
%global with_tests 0
cb61d2c
92e1224
Name:           python-%{pypi_name}
ea16787
Version:        1.0.3
0ba870c
Release:        8%{?dist}
92e1224
Summary:        A helper class for handling configuration defaults of packaged apps gracefully
92e1224
92e1224
License:        BSD
388cd90
URL:            http://pypi.python.org/pypi/django-appconf/
ea16787
Source0:        https://github.com/django-compressor/%{pypi_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
92e1224
BuildArch:      noarch
388cd90
92e1224
fe606fa
%global _description\
fe606fa
A helper class for handling configuration\
fe606fa
defaults of packaged Django\
fe606fa
apps gracefully.
fe606fa
fe606fa
%description %_description
fe606fa
92e1224
388cd90
%package -n python3-%{pypi_name}
388cd90
Summary:        A helper class for handling configuration defaults of packaged apps gracefully
388cd90
52c2bc1
BuildRequires:  python3-coverage
388cd90
BuildRequires:  python3-devel
52c2bc1
BuildRequires:  python3-django
388cd90
BuildRequires:  python3-setuptools
52c2bc1
BuildRequires:  python3-sphinx
24c1e38
BuildRequires:  python3-six
388cd90
dd09b2e
Requires:   python3-django
388cd90
52c2bc1
Obsoletes:  python2-%{pypi_name} < 1.0.2-6
52c2bc1
Obsoletes:  python-%{pypi_name} < 1.0.2-6
52c2bc1
52c2bc1
%{?python_provide:%python_provide python3-%{pypi_name}}
52c2bc1
52c2bc1
%description -n python3-%{pypi_name} %_description
388cd90
92e1224
92e1224
%prep
24c1e38
%autosetup -n %{pypi_name}-%{version} -p1
92e1224
92e1224
92e1224
%build
cb61d2c
%py3_build
92e1224
24c1e38
# generate html docs
24c1e38
sphinx-build-3 -b html docs html
24c1e38
# remove the sphinx-build leftovers
24c1e38
rm -rf html/.{doctrees,buildinfo}
24c1e38
92e1224
92e1224
%install
cb61d2c
%py3_install
52c2bc1
92e1224
b4c4a45
# checks fail in mock
388cd90
%check
388cd90
export PYTHONPATH=.:$PYTHONPATH
388cd90
export DJANGO_SETTINGS_MODULE=tests.test_settings
52c2bc1
%{__python3} setup.py test
ea16787
# coverage3 run %{_bindir}/python3-django-admin test -v2 test
52c2bc1
#                        ^ change to django-admin once that is Python 3
92e1224
388cd90
388cd90
%files -n python3-%{pypi_name}
388cd90
%doc html README.rst
388cd90
%license LICENSE
388cd90
%{python3_sitelib}/appconf
388cd90
%{python3_sitelib}/django_appconf-%{version}-py%{python3_version}.egg-info
52c2bc1
92e1224
92e1224
%changelog
0ba870c
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-8
0ba870c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
0ba870c
bbc4ff6
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-7
bbc4ff6
- Second attempt - Rebuilt for
bbc4ff6
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
bbc4ff6
47f35a1
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.3-6
47f35a1
- Rebuilt for Python 3.10
47f35a1
67c33fe
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
67c33fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
67c33fe
1704402
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
1704402
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1704402
5fa9bf0
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-3
5fa9bf0
- Rebuilt for Python 3.9
5fa9bf0
8e76cd2
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
8e76cd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8e76cd2
ea16787
* Thu Sep 05 2019 Matthias Runge <mrunge@redhat.com> - 1.0.3-1
ea16787
- update to 1.0.3 and FTBFS (rhbz#1737272)
ea16787
- skip coverage tests for now
ea16787
666acf9
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-13
666acf9
- Rebuilt for Python 3.8
666acf9
8d5c81b
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-12
8d5c81b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8d5c81b
24c1e38
* Thu Jul 11 2019 Matthias Runge <mrunge@redhat.com> - 1.0.2-11
24c1e38
- fix FTBFS (rhbz#1707040)
24c1e38
f30ff9c
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
f30ff9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f30ff9c
2d80211
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
2d80211
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2d80211
e08cb1c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-8
e08cb1c
- Rebuilt for Python 3.7
e08cb1c
874a564
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
874a564
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
874a564
52c2bc1
* Tue Jan 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-6
52c2bc1
- Removed Python 2 subpackage for https://fedoraproject.org/wiki/Changes/Django20
52c2bc1
fe606fa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.2-5
fe606fa
- Python 2 binary package renamed to python2-django-appconf
fe606fa
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
fe606fa
212e837
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
212e837
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
212e837
3fa9307
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
3fa9307
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3fa9307
47f2ba1
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-2
47f2ba1
- Rebuild for Python 3.6
47f2ba1
cb61d2c
* Wed Nov 02 2016 Matthias Runge <mrunge@redhat.com> - 1.0.2-1
cb61d2c
- update to 1.0.2 (rhbz#1328640)
cb61d2c
3bcec28
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
3bcec28
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
3bcec28
1e7d96a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
1e7d96a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1e7d96a
9869e54
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
9869e54
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
9869e54
dd09b2e
* Thu Aug 27 2015 Matthias Runge <mrunge@redhat.com> - 1.0.1-2
388cd90
- update to 1.0.1
388cd90
- python3 subpackage
dd09b2e
- fix requirements py/py3
388cd90
415c3ef
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
415c3ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
415c3ef
d248bde
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
d248bde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d248bde
3ea8cf9
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
3ea8cf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3ea8cf9
9ef2fc6
* Wed Mar 06 2013 Matthias Runge <mrunge@redhat.com> - 0.6-1
9ef2fc6
- update to appconf-0.6
9ef2fc6
e91e1da
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
e91e1da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e91e1da
bfc31c3
* Wed Sep 26 2012 Matthias Runge <mrunge@redhat.com> - 0.5-2
bfc31c3
- also add requirement: Django/python-django
bfc31c3
92e1224
* Tue Sep 11 2012 Matthias Runge <mrunge@redhat.com> - 0.5-1
92e1224
- Initial package.