81df084
%global modname kadmin
81df084
%global commit          94e50ed0a788d9ff9e4b47a35a65ca22c69b703a
81df084
%global shortcommit     %(c=%{commit}; echo ${c:0:7})
81df084
%global snapshotdate    20181207
81df084
81df084
Name:               python-kadmin
81df084
Version:            0.1.2
63a4b69
Release:            24.%{snapshotdate}git%{shortcommit}%{?dist}
81df084
Summary:            Python module for kerberos admin (kadm5)
81df084
81df084
License:            MIT
81df084
URL:                https://github.com/rjancewicz/python-%{modname}
81df084
Source0:            %{url}/archive/%{commit}/python-%{modname}-%{shortcommit}.tar.gz
81df084
Patch0:             https://patch-diff.githubusercontent.com/raw/rjancewicz/python-kadmin/pull/59.patch#/0001-build-one-package-with-two-extensions.patch
af8b466
Patch1:             12de82aa48a7faeb5bfc618a226f2cc388e2eb4d.patch
dd18c14
Patch2: python-kadmin-c99.patch
81df084
%description
81df084
%{summary}.
81df084
81df084
%package -n python%{python3_pkgversion}-%{modname}
81df084
Summary:            %{summary}
81df084
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
81df084
BuildRequires:      python%{python3_pkgversion}-devel
81df084
BuildRequires:      python%{python3_pkgversion}-setuptools
81df084
BuildRequires:      krb5-devel
81df084
BuildRequires:      bison
81df084
BuildRequires:      gcc
81df084
81df084
%description -n python%{python3_pkgversion}-%{modname}
81df084
%{summary}.
81df084
81df084
Python %{python3_version} version.
81df084
81df084
%prep
af8b466
%autosetup -p1 -n python-%{modname}-%{commit}
81df084
81df084
%build
81d0c4b
export CFLAGS="$CFLAGS -fcommon"
81df084
%py3_build
81df084
81df084
%install
81df084
%py3_install
81df084
81df084
%files -n python%{python3_pkgversion}-%{modname}
81df084
%doc README.md
81df084
%license LICENSE.txt
81df084
%{python3_sitearch}/%{modname}*.so
81df084
%{python3_sitearch}/python_%{modname}*.egg-info
81df084
81df084
%changelog
63a4b69
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.1.2-24.20181207git94e50ed
63a4b69
- Rebuilt for Python 3.13
63a4b69
5c129cb
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-23.20181207git94e50ed
5c129cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
5c129cb
708b377
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-22.20181207git94e50ed
708b377
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
708b377
dd18c14
* Fri Jan 05 2024 Florian Weimer <fweimer@redhat.com> - 0.1.2-21.20181207git94e50ed
dd18c14
- Fix C compatibility issue
dd18c14
7d0fd5c
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-20.20181207git94e50ed
7d0fd5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
7d0fd5c
d8b6ba1
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.1.2-19.20181207git94e50ed
d8b6ba1
- Rebuilt for Python 3.12
d8b6ba1
05686b0
* Wed Mar 01 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.1.2-18.20181207git94e50ed
05686b0
- migrated to SPDX license
05686b0
cc0d128
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-17.20181207git94e50ed
cc0d128
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
cc0d128
95fb448
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-16.20181207git94e50ed
95fb448
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
95fb448
08dfb59
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.1.2-15.20181207git94e50ed
08dfb59
- Rebuilt for Python 3.11
08dfb59
c893f3d
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-14.20181207git94e50ed
c893f3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
c893f3d
fd99784
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-13.20181207git94e50ed
fd99784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
fd99784
3b7fc40
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1.2-12.20181207git94e50ed
3b7fc40
- Rebuilt for Python 3.10
3b7fc40
825e2f5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-11.20181207git94e50ed
825e2f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
825e2f5
3ed6af0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-10.20181207git94e50ed
3ed6af0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3ed6af0
0dd5d84
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-9.20181207git94e50ed
0dd5d84
- Rebuilt for Python 3.9
0dd5d84
af8b466
* Fri Apr 24 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.1.2-8.20181207git94e50ed
af8b466
- Patch for bad call flags.
af8b466
1697fc1
* Fri Mar 06 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.1.2-7.20181207git94e50ed
1697fc1
- krb5 rebuild.
1697fc1
81d0c4b
* Wed Jan 29 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.1.2-6.20181207git94e50ed
81d0c4b
- Build with -fcommon for gcc10.
81d0c4b
c5502f7
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-5.20181207git94e50ed
c5502f7
- Rebuilt for Python 3.8
c5502f7
f6b494c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4.20181207git94e50ed
f6b494c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f6b494c
75d778a
* Wed May 08 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.1.2-3.20181207git94e50ed
75d778a
- Rebuild for krb5.
75d778a
178c17e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2.20181207git94e50ed
178c17e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
178c17e
81df084
* Wed Dec 12 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.1.2-1.20181207git94e50ed
81df084
- Corrected URL/Source/Patch, from review.
81df084
81df084
* Fri Dec 07 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.1.2-1.20181207
81df084
- Initial package.