|
|
2bb6b2a |
%if 0%{?rhel}
|
|
|
2bb6b2a |
# RHEL does not ship openldap-server :(
|
|
|
2bb6b2a |
%bcond_with check
|
|
|
2bb6b2a |
%else
|
|
|
2bb6b2a |
%bcond_without check
|
|
|
2bb6b2a |
%endif
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
%global srcname django-auth-ldap
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
Name: python-%{srcname}
|
|
aekoroglu |
659c1bb |
Version: 4.1.0
|
|
|
76cc431 |
Release: 8%{?dist}
|
|
|
2bb6b2a |
Summary: Django LDAP authentication backend
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
License: BSD
|
|
|
2bb6b2a |
URL: https://pypi.org/project/django-auth-ldap
|
|
|
2bb6b2a |
Source: %{pypi_source}
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
BuildArch: noarch
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
%description
|
|
|
2bb6b2a |
%{summary}.
|
|
|
2bb6b2a |
|
|
aekoroglu |
659c1bb |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
2bb6b2a |
Summary: %{summary}
|
|
|
2bb6b2a |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
aekoroglu |
659c1bb |
BuildRequires: python%{python3_pkgversion}-devel
|
|
aekoroglu |
659c1bb |
BuildRequires: pyproject-rpm-macros
|
|
aekoroglu |
659c1bb |
BuildRequires: %{py3_dist setuptools}
|
|
aekoroglu |
659c1bb |
BuildRequires: %{py3_dist setuptools-scm}
|
|
aekoroglu |
659c1bb |
BuildRequires: python%{python3_pkgversion}-setuptools_scm+toml
|
|
aekoroglu |
659c1bb |
BuildRequires: %{py3_dist pip}
|
|
aekoroglu |
659c1bb |
BuildRequires: %{py3_dist wheel}
|
|
aekoroglu |
659c1bb |
BuildRequires: %{py3_dist django} >= 2.2
|
|
aekoroglu |
659c1bb |
BuildRequires: %{py3_dist python-ldap} >= 3.1
|
|
aekoroglu |
659c1bb |
BuildRequires: %{py3_dist tox-current-env}
|
|
|
2bb6b2a |
%if %{with check}
|
|
|
2bb6b2a |
BuildRequires: /usr/bin/ldapadd
|
|
|
2bb6b2a |
BuildRequires: /usr/sbin/slapd
|
|
|
2bb6b2a |
%endif
|
|
|
2bb6b2a |
|
|
aekoroglu |
659c1bb |
%description -n python%{python3_pkgversion}-%{srcname}
|
|
|
2bb6b2a |
%{summary}.
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
%prep
|
|
|
f4e8fa9 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
2bb6b2a |
|
|
aekoroglu |
659c1bb |
%generate_buildrequires
|
|
aekoroglu |
659c1bb |
%pyproject_buildrequires -t
|
|
aekoroglu |
659c1bb |
|
|
|
2bb6b2a |
%build
|
|
aekoroglu |
659c1bb |
%pyproject_wheel
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
%install
|
|
aekoroglu |
659c1bb |
%pyproject_install
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
%if %{with check}
|
|
|
2bb6b2a |
%check
|
|
aekoroglu |
659c1bb |
%tox
|
|
|
2bb6b2a |
%endif
|
|
|
2bb6b2a |
|
|
aekoroglu |
659c1bb |
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
2bb6b2a |
%license LICENSE
|
|
|
2bb6b2a |
%doc README.rst
|
|
|
2bb6b2a |
%{python3_sitelib}/django_auth_ldap/
|
|
aekoroglu |
659c1bb |
%{python3_sitelib}/django_auth_ldap-%{version}.dist-info/
|
|
|
2bb6b2a |
|
|
|
2bb6b2a |
%changelog
|
|
|
76cc431 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-8
|
|
|
76cc431 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
76cc431 |
|
|
|
ff542c2 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-7
|
|
|
ff542c2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
ff542c2 |
|
|
|
b8efb44 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-6
|
|
|
b8efb44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
b8efb44 |
|
|
|
4ed5a7f |
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 4.1.0-5
|
|
|
4ed5a7f |
- Rebuilt for Python 3.12
|
|
|
4ed5a7f |
|
|
|
a011431 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-4
|
|
|
a011431 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
a011431 |
|
|
|
db996e8 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
|
|
db996e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
db996e8 |
|
|
|
7b74dc8 |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 4.1.0-2
|
|
|
7b74dc8 |
- Rebuilt for Python 3.11
|
|
|
7b74dc8 |
|
|
aekoroglu |
659c1bb |
* Sat Jun 11 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 4.1.0-1
|
|
aekoroglu |
659c1bb |
- Update to 4.1.0 (rhbz #2094373 and #2048088)
|
|
aekoroglu |
659c1bb |
|
|
|
a789a21 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
|
|
|
a789a21 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
a789a21 |
|
|
|
befffe7 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
|
|
|
befffe7 |
- Second attempt - Rebuilt for
|
|
|
befffe7 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
befffe7 |
|
|
|
d015c1a |
* Sun Jul 11 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.4.0-1
|
|
|
d015c1a |
- Update to 2.4.0
|
|
|
d015c1a |
|
|
|
82a2499 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.2.0-3
|
|
|
82a2499 |
- Rebuilt for Python 3.10
|
|
|
82a2499 |
|
|
|
2295803 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
|
|
2295803 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2295803 |
|
|
|
2bb6b2a |
* Fri Dec 11 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.2.0-1
|
|
|
2bb6b2a |
- Initial package
|