|
|
3ac52d |
%global github_name warlock
|
|
|
3ac52d |
%global commit 460080eb27fd8598c6b00f0df70e597058152323
|
|
|
3ac52d |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
3ac52d |
|
|
|
3ac52d |
Name: python-warlock
|
|
|
3ac52d |
Version: 1.3.3
|
|
|
3ac52d |
Release: 5%{?dist}
|
|
|
3ac52d |
Summary: Python object model built on top of JSON schema
|
|
|
3ac52d |
|
|
|
3ac52d |
License: ASL 2.0
|
|
|
3ac52d |
URL: http://pypi.python.org/pypi/warlock
|
|
|
3ac52d |
# pypi tarball does not contain LICENSE.txt
|
|
|
3ac52d |
# TODO return pypi tarball when github.com/bcwaldon/warlock/pull/12 is done
|
|
|
3ac52d |
#Source0: https://github.com/bcwaldon/%{github_name}/archive/%{commit}/%{github_name}-%{version}-%{shortcommit}.tar.gz
|
|
|
3ac52d |
Source0: https://files.pythonhosted.org/packages/source/w/warlock/warlock-%{version}.tar.gz
|
|
|
3ac52d |
BuildArch: noarch
|
|
|
3ac52d |
|
|
|
3ac52d |
BuildRequires: python3-devel
|
|
|
3ac52d |
BuildRequires: python3-setuptools
|
|
|
3ac52d |
BuildRequires: python3-jsonschema
|
|
|
3ac52d |
BuildRequires: python3-jsonpatch
|
|
|
3ac52d |
|
|
|
3ac52d |
# Tests requires for python 3
|
|
|
3ac52d |
BuildRequires: python3-six
|
|
|
3ac52d |
|
|
|
3ac52d |
%description
|
|
|
3ac52d |
Build self-validating python objects using JSON schemas
|
|
|
3ac52d |
|
|
|
3ac52d |
%package -n python3-%{github_name}
|
|
|
3ac52d |
Summary: Python object model built on top of JSON schema
|
|
|
3ac52d |
%{?python_provide:%python_provide python3-%{github_name}}
|
|
|
3ac52d |
|
|
|
3ac52d |
Requires: python3-jsonschema
|
|
|
3ac52d |
Requires: python3-jsonpatch
|
|
|
3ac52d |
Requires: python3-six
|
|
|
3ac52d |
|
|
|
3ac52d |
%description -n python3-%{github_name}
|
|
|
3ac52d |
Build self-validating python objects using JSON schemas
|
|
|
3ac52d |
|
|
|
3ac52d |
%prep
|
|
|
3ac52d |
%setup -q -n %{github_name}-%{version}
|
|
|
3ac52d |
|
|
|
3ac52d |
# Remove bundled egg-info
|
|
|
3ac52d |
rm -rf warlock.egg-info
|
|
|
3ac52d |
# let RPM handle deps
|
|
|
3ac52d |
sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
|
|
|
3ac52d |
rm -f requirements.txt
|
|
|
3ac52d |
|
|
|
3ac52d |
%build
|
|
|
3ac52d |
%py3_build
|
|
|
3ac52d |
|
|
|
3ac52d |
%install
|
|
|
3ac52d |
%py3_install
|
|
|
3ac52d |
|
|
|
3ac52d |
%check
|
|
|
3ac52d |
%{__python3} setup.py test
|
|
|
3ac52d |
|
|
|
3ac52d |
%files -n python3-%{github_name}
|
|
|
3ac52d |
%doc README.md
|
|
|
3ac52d |
%license LICENSE
|
|
|
3ac52d |
%{python3_sitelib}/warlock
|
|
|
3ac52d |
%{python3_sitelib}/warlock-%{version}-py%{python3_version}.egg-info
|
|
|
3ac52d |
|
|
|
3ac52d |
%changelog
|
|
|
3ac52d |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-5
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-4
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.3-3
|
|
|
3ac52d |
- Rebuilt for Python 3.9
|
|
|
3ac52d |
|
|
|
3ac52d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Tue Sep 10 2019 Yatin Karel <ykarel@redhat.com> - 1.3.3-1
|
|
|
3ac52d |
- Update to 1.3.3
|
|
|
3ac52d |
|
|
|
3ac52d |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-12
|
|
|
3ac52d |
- Rebuilt for Python 3.8
|
|
|
3ac52d |
|
|
|
3ac52d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-11
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Mon Feb 11 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-10
|
|
|
3ac52d |
- Subpackage python2-warlock has been removed
|
|
|
3ac52d |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
3ac52d |
|
|
|
3ac52d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-8
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-7
|
|
|
3ac52d |
- Rebuilt for Python 3.7
|
|
|
3ac52d |
|
|
|
3ac52d |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.0-5
|
|
|
3ac52d |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
3ac52d |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
3ac52d |
|
|
|
3ac52d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-2
|
|
|
3ac52d |
- Rebuild for Python 3.6
|
|
|
3ac52d |
|
|
|
3ac52d |
* Wed Jul 27 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.3.0-1
|
|
|
3ac52d |
- Update to 1.3.0
|
|
|
3ac52d |
- Provide a python 3 subpackage
|
|
|
3ac52d |
- Modernize SPEC
|
|
|
3ac52d |
|
|
|
3ac52d |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
|
|
|
3ac52d |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
3ac52d |
|
|
|
3ac52d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Thu Oct 10 2013 Alan Pevec <apevec@redhat.com> 1.0.1-1
|
|
|
3ac52d |
- update to 1.0.1
|
|
|
3ac52d |
|
|
|
3ac52d |
* Tue Aug 13 2013 Alan Pevec <apevec@redhat.com> 0.4.0-5
|
|
|
3ac52d |
- fix FTBFS in rawhide rhbz#993177
|
|
|
3ac52d |
|
|
|
3ac52d |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-4
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
|
|
|
3ac52d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
3ac52d |
|
|
|
3ac52d |
* Wed Aug 22 2012 Alan Pevec <apevec@redhat.com> 0.4.0-2
|
|
|
3ac52d |
- Add missing build requirements
|
|
|
3ac52d |
|
|
|
3ac52d |
* Fri Aug 10 2012 Dan Prince - 0.4.0-1
|
|
|
3ac52d |
- Initial package.
|