|
|
079949a |
%{?python_enable_dependency_generator}
|
|
|
a50a148 |
%global pkgname pymacaroons-pynacl
|
|
|
a50a148 |
|
|
|
a50a148 |
%global desc This is a Python re-implementation of the libmacaroons C library.\
|
|
|
a50a148 |
Macaroons, like cookies, are a form of bearer credential. Unlike\
|
|
|
a50a148 |
opaque tokens, macaroons embed caveats that define specific authorization\
|
|
|
a50a148 |
requirements for the target service, the service that issued the root macaroon\
|
|
|
a50a148 |
and which is capable of verifying the integrity of macaroons it receives.\
|
|
|
a50a148 |
\
|
|
|
a50a148 |
Macaroons allow for delegation and attenuation of authorization. They are\
|
|
|
a50a148 |
simple and fast to verify, and decouple authorization policy from the\
|
|
|
a50a148 |
enforcement of that policy.\
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
Name: python-%{pkgname}
|
|
|
bc71901 |
Version: 0.13.0
|
|
|
39f97af |
Release: 18%{?dist}
|
|
|
a50a148 |
Summary: Library providing non-opaque cookies for authorization
|
|
|
a50a148 |
|
|
|
a50a148 |
License: MIT
|
|
|
bc71901 |
URL: https://github.com/ecordell/pymacaroons
|
|
|
a50a148 |
Source0: %{url}/archive/v%{version}/pymacaroons-v%{version}.tar.gz
|
|
|
a50a148 |
BuildArch: noarch
|
|
|
a50a148 |
|
|
|
a50a148 |
%description
|
|
|
a50a148 |
%{desc}
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%package -n python3-%{pkgname}
|
|
|
a50a148 |
Summary: %{summary}
|
|
|
cd7734b |
BuildRequires: make
|
|
|
a50a148 |
BuildRequires: python3-devel
|
|
|
a50a148 |
BuildRequires: python3-setuptools
|
|
|
a50a148 |
%{?python_provide:%python_provide python3-%{pkgname}}
|
|
|
a50a148 |
|
|
|
a50a148 |
%description -n python3-%{pkgname}
|
|
|
a50a148 |
%{desc}
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%package doc
|
|
|
a50a148 |
Summary: Documentation for python-pymacaroons-pynacl
|
|
|
a50a148 |
BuildRequires: python3-sphinx
|
|
|
a50a148 |
|
|
|
a50a148 |
%description doc
|
|
|
a50a148 |
Documentation for the python-pymacaroons-pynacl package.
|
|
|
a50a148 |
|
|
|
a50a148 |
%{desc}
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%prep
|
|
|
a50a148 |
%autosetup -n pymacaroons-%{version}
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%build
|
|
|
a50a148 |
%py3_build
|
|
|
a50a148 |
|
|
|
a50a148 |
make %{?_smp_mflags} -C docs SPHINXBUILD=sphinx-build-3 html PYTHONPATH=$(pwd)
|
|
|
a50a148 |
rm docs/_build/html/.buildinfo
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%install
|
|
|
a50a148 |
%py3_install
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
# check
|
|
|
a50a148 |
# Unfortunately, the test suite relies on an incredibly old version of python-hypothesis
|
|
|
a50a148 |
# (1.0.0) which is not API compatible with the version we ship in Fedora.
|
|
|
a50a148 |
# nosetests-3
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%files -n python3-%{pkgname}
|
|
|
a50a148 |
%license LICENSE
|
|
|
a50a148 |
%doc README.md
|
|
|
a50a148 |
%{python3_sitelib}/*
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%files doc
|
|
|
a50a148 |
%license LICENSE
|
|
|
a50a148 |
%doc README.md docs/_build/html
|
|
|
a50a148 |
|
|
|
a50a148 |
|
|
|
a50a148 |
%changelog
|
|
|
39f97af |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-18
|
|
|
39f97af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
39f97af |
|
|
|
945692d |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-17
|
|
|
945692d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
945692d |
|
|
|
ef216a7 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-16
|
|
|
ef216a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
ef216a7 |
|
|
|
c111ac3 |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.13.0-15
|
|
|
c111ac3 |
- Rebuilt for Python 3.12
|
|
|
c111ac3 |
|
|
|
5dc6b02 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-14
|
|
|
5dc6b02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
5dc6b02 |
|
|
|
85779c7 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-13
|
|
|
85779c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
85779c7 |
|
|
|
bf9a84c |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.13.0-12
|
|
|
bf9a84c |
- Rebuilt for Python 3.11
|
|
|
bf9a84c |
|
|
|
45b6f5e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-11
|
|
|
45b6f5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
45b6f5e |
|
|
|
7b807cb |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-10
|
|
|
7b807cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
7b807cb |
|
|
|
b2e29e5 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.13.0-9
|
|
|
b2e29e5 |
- Rebuilt for Python 3.10
|
|
|
b2e29e5 |
|
|
|
09e39d1 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-8
|
|
|
09e39d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
09e39d1 |
|
|
|
e56cdbd |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-7
|
|
|
e56cdbd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e56cdbd |
|
|
|
ec8bfa9 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-6
|
|
|
ec8bfa9 |
- Rebuilt for Python 3.9
|
|
|
ec8bfa9 |
|
|
|
1fcb51b |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-5
|
|
|
1fcb51b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
1fcb51b |
|
|
|
c9963dc |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-4
|
|
|
c9963dc |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
c9963dc |
|
|
|
30e27b0 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-3
|
|
|
30e27b0 |
- Rebuilt for Python 3.8
|
|
|
30e27b0 |
|
|
|
ec9cc8b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
|
|
|
ec9cc8b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ec9cc8b |
|
|
|
bc71901 |
* Sat Jun 08 2019 Dan Callaghan <djc@djc.id.au> - 0.13.0-1
|
|
|
bc71901 |
- New upstream release 0.13.0
|
|
|
bc71901 |
|
|
|
0cc9bb4 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-8
|
|
|
0cc9bb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0cc9bb4 |
|
|
|
079949a |
* Tue Jan 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.3-7
|
|
|
079949a |
- Enable python dependency generator
|
|
|
079949a |
|
|
|
7eefb44 |
* Mon Jan 14 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-6
|
|
|
7eefb44 |
- Subpackage python2-pymacaroons-pynacl has been removed
|
|
|
7eefb44 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
7eefb44 |
|
|
|
601e7c7 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-5
|
|
|
601e7c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
601e7c7 |
|
|
|
c0e6855 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-4
|
|
|
c0e6855 |
- Rebuilt for Python 3.7
|
|
|
c0e6855 |
|
|
|
e79c25a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
|
|
|
e79c25a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e79c25a |
|
|
|
86745ba |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
|
|
86745ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
86745ba |
|
|
|
a50a148 |
* Tue Mar 07 2017 Jeremy Cline <jeremy@jcline.org> - 0.9.3-1
|
|
|
a50a148 |
- Initial package
|