|
|
5c37cb |
%if 0%{?fedora}
|
|
|
5c37cb |
%global with_python3 1
|
|
|
5c37cb |
%endif
|
|
|
5c37cb |
|
|
|
5c37cb |
Name: python-passlib
|
|
|
5c37cb |
Version: 1.6.5
|
|
|
5c37cb |
Release: 2%{?dist}
|
|
|
5c37cb |
Summary: Comprehensive password hashing framework supporting over 20 schemes
|
|
|
5c37cb |
|
|
|
5c37cb |
License: BSD and Beerware and Copyright only
|
|
|
5c37cb |
URL: https://bitbucket.org/ecollins/passlib
|
|
|
5c37cb |
Source0: https://pypi.python.org/packages/source/p/passlib/passlib-%{version}.tar.gz
|
|
|
5c37cb |
BuildArch: noarch
|
|
|
5c37cb |
|
|
|
5c37cb |
# docs generation requires python-cloud-sptheme, which isn't packaged yet.
|
|
|
5c37cb |
# so we won't generate the docs yet.
|
|
|
5c37cb |
#BuildRequires: python-sphinx >= 1.0
|
|
|
5c37cb |
#BuildRequires: python-cloud-sptheme
|
|
|
5c37cb |
|
|
|
5c37cb |
Provides: python2-passlib = %{version}-%{release}
|
|
|
5c37cb |
|
|
|
5c37cb |
BuildRequires: python2-devel
|
|
|
5c37cb |
BuildRequires: python-setuptools
|
|
|
5c37cb |
|
|
|
5c37cb |
%description
|
|
|
5c37cb |
Passlib is a password hashing library for Python 2 & 3, which provides
|
|
|
5c37cb |
cross-platform implementations of over 20 password hashing algorithms,
|
|
|
5c37cb |
as well as a framework for managing existing password hashes. It's
|
|
|
5c37cb |
designed to be useful for a wide range of tasks, from verifying a hash
|
|
|
5c37cb |
found in /etc/shadow, to providing full-strength password hashing for
|
|
|
5c37cb |
multi-user application.
|
|
|
5c37cb |
|
|
|
5c37cb |
%if 0%{?with_python3}
|
|
|
5c37cb |
%package -n python3-passlib
|
|
|
5c37cb |
Summary: Comprehensive password hashing framework supporting over 20 schemes
|
|
|
5c37cb |
%{?python_provide:%python_provide python3-passlib}
|
|
|
5c37cb |
|
|
|
5c37cb |
BuildRequires: python3-devel
|
|
|
5c37cb |
BuildRequires: python3-setuptools
|
|
|
5c37cb |
|
|
|
5c37cb |
%description -n python3-passlib
|
|
|
5c37cb |
Passlib is a password hashing library for Python 2 & 3, which provides
|
|
|
5c37cb |
cross-platform implementations of over 20 password hashing algorithms,
|
|
|
5c37cb |
as well as a framework for managing existing password hashes. It's
|
|
|
5c37cb |
designed to be useful for a wide range of tasks, from verifying a hash
|
|
|
5c37cb |
found in /etc/shadow, to providing full-strength password hashing for
|
|
|
5c37cb |
multi-user application.
|
|
|
5c37cb |
%endif
|
|
|
5c37cb |
|
|
|
5c37cb |
%prep
|
|
|
5c37cb |
%setup -q -n passlib-%{version}
|
|
|
5c37cb |
|
|
|
5c37cb |
%build
|
|
|
5c37cb |
%{__python2} setup.py build
|
|
|
5c37cb |
|
|
|
5c37cb |
%if 0%{?with_python3}
|
|
|
5c37cb |
%{__python3} setup.py build
|
|
|
5c37cb |
%endif
|
|
|
5c37cb |
|
|
|
5c37cb |
%install
|
|
|
5c37cb |
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
5c37cb |
|
|
|
5c37cb |
%if 0%{?with_python3}
|
|
|
5c37cb |
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
5c37cb |
%endif
|
|
|
5c37cb |
|
|
|
5c37cb |
%files
|
|
|
5c37cb |
%doc README
|
|
|
5c37cb |
%license LICENSE
|
|
|
5c37cb |
%{python2_sitelib}/*
|
|
|
5c37cb |
|
|
|
5c37cb |
%if 0%{?with_python3}
|
|
|
5c37cb |
%files -n python3-passlib
|
|
|
5c37cb |
%doc README
|
|
|
5c37cb |
%license LICENSE
|
|
|
5c37cb |
%{python3_sitelib}/*
|
|
|
5c37cb |
%endif
|
|
|
5c37cb |
|
|
|
5c37cb |
%changelog
|
|
|
5c37cb |
* Tue May 16 2017 Pavel Cahyna <pcahyna@redhat.com> 1.6.5-2
|
|
|
5c37cb |
- Rebuild for RHEL 7.4 Extras
|
|
|
5c37cb |
|
|
|
5c37cb |
* Thu Nov 05 2015 Jon Schlueter <jschluet@redhat.com> 1.6.5-1.1
|
|
|
5c37cb |
- revert to python-XXX with python2-XXX provides
|
|
|
5c37cb |
|
|
|
5c37cb |
* Mon Sep 07 2015 Chandan Kumar <chkumar246@gmail.com> - 1.6.5-1
|
|
|
5c37cb |
- Added python2 and python3 subpackage
|
|
|
5c37cb |
- updated to 1.6.5
|
|
|
5c37cb |
|
|
|
5c37cb |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
|
|
|
5c37cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5c37cb |
|
|
|
5c37cb |
* Fri Dec 19 2014 Alan Pevec <apevec@redhat.com> - 1.6.2-1
|
|
|
5c37cb |
- update to 1.6.2
|
|
|
5c37cb |
|
|
|
5c37cb |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
|
|
|
5c37cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5c37cb |
|
|
|
5c37cb |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
|
|
|
5c37cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5c37cb |
|
|
|
5c37cb |
* Thu Jul 04 2013 Alan Pevec <apevec@redhat.com> - 1.6.1-1
|
|
|
5c37cb |
- update to 1.6.1
|
|
|
5c37cb |
|
|
|
5c37cb |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-4
|
|
|
5c37cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5c37cb |
|
|
|
5c37cb |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-3
|
|
|
5c37cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5c37cb |
|
|
|
5c37cb |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
|
|
|
5c37cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5c37cb |
|
|
|
5c37cb |
* Mon Oct 17 2011 Matt Domsch <Matt_Domsch@dell.com> - 1.5.3-1
|
|
|
5c37cb |
- initial release for Fedora
|