mpaladin a14cef
mpaladin a14cef
%global srcname auth.credential
mpaladin a14cef
mpaladin a14cef
Name:		python-auth-credential
Massimo 2231f8
Version:	1.0
0f73c0
Release:	21%{?dist}
mpaladin a14cef
Summary:	Python abstraction of a credential
mpaladin a14cef
License:	ASL 2.0
Massimo 7f4acf
URL:		https://github.com/cern-mig/%{name}
mpaladin a14cef
Source0:	http://pypi.python.org/packages/source/a/%{srcname}/%{srcname}-%{version}.tar.gz
mpaladin a14cef
BuildArch:	noarch
mpaladin a14cef
BuildRequires:	python3-devel
mpaladin a14cef
5f601c
%global _description\
5f601c
This module offers an abstraction of a credential, i.e. something that\
5f601c
can be used to authenticate. It allows the creation and manipulation of\
5f601c
credentials. In particular, it defines a standard string representation\
5f601c
(so that credentials can be given to external programs as command line\
5f601c
options), a standard structured representation (so that credentials can\
5f601c
be stored in structured configuration files or using JSON) and\
5f601c
"preparators" that can transform credentials into ready-to-use data for\
5f601c
well known targets.\
5f601c
\
5f601c
The python module auth.credential is compatible with the Perl\
mpaladin a14cef
module Authen::Credential.
mpaladin a14cef
5f601c
%description %_description
5f601c
dc3c1a
%package -n python3-auth-credential
mpaladin a14cef
Summary:	Python abstraction of a credential
mpaladin a14cef
dc3c1a
%description -n python3-auth-credential
mpaladin a14cef
This module offers an abstraction of a credential, i.e. something that
mpaladin a14cef
can be used to authenticate. It allows the creation and manipulation of
mpaladin a14cef
credentials. In particular, it defines a standard string representation
mpaladin a14cef
(so that credentials can be given to external programs as command line
mpaladin a14cef
options), a standard structured representation (so that credentials can
mpaladin a14cef
be stored in structured configuration files or using JSON) and
mpaladin a14cef
"preparators" that can transform credentials into ready-to-use data for
mpaladin a14cef
well known targets.
mpaladin a14cef
mpaladin a14cef
The python module auth.credential is compatible with the Perl
mpaladin a14cef
module Authen::Credential.
mpaladin a14cef
mpaladin a14cef
%prep
dc3c1a
%setup -q -n %{srcname}-%{version}
8664cb
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
mpaladin a14cef
mpaladin a14cef
%build 
mpaladin a14cef
%{__python3} setup.py build
mpaladin a14cef
mpaladin a14cef
%install
dc3c1a
rm -fr $RPM_BUILD_ROOT
mpaladin a14cef
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
mpaladin a14cef
mpaladin a14cef
%check
mpaladin a14cef
%{__python3} setup.py test
mpaladin a14cef
dc3c1a
%files -n python3-auth-credential
Massimo eb94ec
%doc LICENSE README.rst CHANGES
mpaladin a14cef
%{python3_sitelib}/auth/
mpaladin a14cef
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
mpaladin a14cef
mpaladin a14cef
%changelog
0f73c0
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-21
0f73c0
- Rebuilt for Python 3.8.0rc1 (#1748018)
0f73c0
701fd1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-20
701fd1
- Rebuilt for Python 3.8
701fd1
4b1dcf
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-19
4b1dcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4b1dcf
8664cb
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0-18
8664cb
- Subpackage python2-auth-credential has been removed
8664cb
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
8664cb
cf4384
* Mon Jul 23 2018 Lionel Cons <lionel.cons@cern.ch> - 1.0-17
cf4384
- Fixed building using Python 2 (#1605603).
cf4384
5e4cdb
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-16
5e4cdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5e4cdb
9f651f
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0-15
9f651f
- Rebuilt for Python 3.7
9f651f
b9369b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-14
b9369b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b9369b
5f601c
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0-13
5f601c
- Python 2 binary package renamed to python2-auth-credential
5f601c
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
5f601c
745f4c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-12
745f4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
745f4c
88103b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-11
88103b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
88103b
b6d274
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0-10
b6d274
- Rebuild for Python 3.6
b6d274
48a9cf
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
48a9cf
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
48a9cf
66b95e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
66b95e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
66b95e
dc3c1a
* Thu Dec 17 2015 Lionel Cons <lionel.cons@cern.ch> - 1.0-7
dc3c1a
- Cleanup the spec file.
dc3c1a
0e3af2
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
0e3af2
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
0e3af2
6b0e67
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
6b0e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6b0e67
64805b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
64805b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
64805b
d44713
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 1.0-3
d44713
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
d44713
518bbf
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
518bbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
518bbf
Massimo 2231f8
* Mon Mar 04 2013 Massimo Paladin <massimo.paladin@gmail.com> - 1.0-1
Massimo 2231f8
- Upgrading to upstream version 1.0.
Massimo 2231f8
f212f5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
f212f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f212f5
59e000
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 0.6-3
dc3c1a
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_3.3
59e000
1d228d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
1d228d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1d228d
mpaladin ec87c6
* Tue Apr 17 2012 Massimo Paladin <massimo.paladin@gmail.com> - 0.6-1
mpaladin ec87c6
- Upgrading to latest upstream version 0.6.
mpaladin ec87c6
mpaladin a14cef
* Mon Feb 20 2012 Massimo Paladin <massimo.paladin@cern.ch> - 0.5-2
mpaladin a14cef
- Making it compliant with guidelines.
mpaladin a14cef
mpaladin a14cef
* Mon Jan 23 2012 Massimo Paladin <massimo.paladin@cern.ch> - 0.5-1
mpaladin a14cef
- Initial packaging.