%global pypi_name django-authority Name: python-%{pypi_name} Version: 0.11 Release: 29%{?dist} Summary: A Django app for generic per-object permissions and custom permission checks # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://github.com/jazzband/django-authority Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %description This is a Django app for generic per-object permissions, custom permission checks and permission requests. It also includes view decorators and template tags for ease of use. %package -n python3-%{pypi_name} Summary: Django app for permissions - Python 3 version BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-django %{?python_provide:%python_provide python3-%{pypi_name}} Obsoletes: python-%{pypi_name} < 0.11-5 Obsoletes: python2-%{pypi_name} < 0.11-5 %description -n python3-%{pypi_name} This is a Django app for generic per-object permissions, custom permission checks and permission requests. It also includes view decorators and template tags for ease of use. This package provides Python 3 build of %{pypi_name}. %prep %autosetup -n %{pypi_name}-%{version} # remove executable-flag from manage.py in example chmod ugo-x example/manage.py # remove hidden files in example find example -name '._*.py' -exec rm '{}' \; %build %py3_build %install %py3_install # example gets accidently installed to python_sitelib, too rm -rf %{buildroot}/%{python3_sitelib}/example %files -n python3-%{pypi_name} %license LICENSE %doc AUTHORS README.rst docs/ example/ %{python3_sitelib}/authority/ %{python3_sitelib}/django_authority-%{version}-py%{python3_version}.egg-info %changelog * Wed Sep 04 2024 Miroslav Suchý - 0.11-29 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.11-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.11-27 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.11-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.11-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.11-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.11-23 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.11-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.11-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.11-20 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.11-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.11-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.11-17 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.11-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.11-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.11-14 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.11-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.11-12 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.11-11 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.11-7 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 Miro Hrončok - 0.11-5 - Remove python2 subpackage for https://fedoraproject.org/wiki/Changes/Django20 * Thu Jul 27 2017 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.11-2 - Rebuild for Python 3.6 * Wed Aug 3 2016 Jan Beran - 0.11-1 - update to version 0.11 - url and source update - porting the specfile to Python 3 * Tue Jul 19 2016 Fedora Release Engineering - 0.4-9 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 04 2012 Matthias Runge - 0.4-2 - really obsolete version 0.3-5 * Fri Jun 01 2012 Matthias Runge - 0.4-1 - renamed to python-django-authority - spec cleanup - update to version 0.4 * Fri Jan 13 2012 Fedora Release Engineering - 0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm - 0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Fri Aug 14 2009 Diego Búrigo Zacarão 0.3-2 - Clean up MAC OS hidden files - Added only HTML built doc files from docs dir - Added some missed doc files like AUTHORS - Clean up .builinfo files * Thu Aug 13 2009 Diego Búrigo Zacarão 0.3-1 - Initial RPM