Name: pylibacl Summary: POSIX.1e ACLs library wrapper for Python Version: 0.5.4 Release: 2%{?dist} License: LGPLv2+ URL: https://pylibacl.k1024.org Source0: %{url}/downloads/%{name}-%{version}.tar.gz Source1: %{url}/downloads/%{name}-%{version}.tar.gz.asc Source2: https://k1024.org/files/key.asc BuildRequires: gcc BuildRequires: libacl-devel BuildRequires: gnupg2 %if 0%{?el7} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest %else BuildRequires: python3-devel BuildRequires: python3dist(pytest) %endif %global _description %{expand: Python extension module for POSIX ACLs. It allows to query, list, add and remove ACLs from files and directories.} %description %_description %package -n python3-%{name} Summary: %{summary} %{?python_provide:%python_provide python3-%{name}} Provides: py3libacl = %{version}-%{release} Obsoletes: py3libacl < 0.5.4 %description -n python3-%{name} %_description %prep %ifarch aarch64 # A bug in COPR build for EPEL7 on aarch64 %if 0%{?rhel} >= 8 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %endif %else %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %endif %autosetup %build %py3_build %install %py3_install %check # the module is just a C extension => need to add the installed destination to # PYTHONPATH, otherwise it won't be found export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH # One test broken on some archs: https://github.com/iustin/pylibacl/issues/13 python3 -m pytest test -v \ %ifarch i686 armv7hl -k 'not testNegativeQualifier' %endif %files -n python3-%{name} %{python3_sitearch}/posix1e.cpython-??* %{python3_sitearch}/*egg-info %license COPYING %doc README.rst NEWS %changelog * Sun Apr 05 2020 Frank Crawford - 0.5.4-2 - update for EPEL 7 & 8 * Sat Nov 30 2019 Marcin Zajaczkowski - 0.5.4-1 - Update to 0.5.4 - Add GPG signature verification - Drop Python 2 subpackage - https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal * Mon Aug 19 2019 Miro Hrončok - 0.5.2-13 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.5.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.5.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.5.2-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.5.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Feb 07 2018 Iryna Shcherbina - 0.5.2-7 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Aug 03 2017 Fedora Release Engineering - 0.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.5.2-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.5.2-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon May 02 2016 Yclept Nemo - 0.5.2-1 - updated to 0.5.2 - phase out python-libacl (it's been a while...) - run checks - python3 subpackage - remove outdated macros - (original change date Mon Jan 12 2015) * Thu Feb 04 2016 Fedora Release Engineering - 0.5.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.5.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.5.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 26 2012 Marcin Zajaczkowski - 0.5.1-2 - fix wrong licence tag - starting from 0.4 it should be LGPLv2+ instead of GPLv2+ * Tue Jun 26 2012 Marcin Zajaczkowski - 0.5.1-1 - updated to 0.5.1 - fix bugs found with cpycheck (bug 800126) - adjust minimal required Python version to 2.4 * Sat Jan 14 2012 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Tue Jul 06 2010 Kevin Fenzi - 0.5.0-1 - Update to 0.5.0 - Fix egg-info * Sun Jul 26 2009 Fedora Release Engineering - 0.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.2.2-5 - Rebuild for Python 2.6 * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.2.2-4 - Rebuild for Python 2.6 * Tue Feb 19 2008 Fedora Release Engineering - 0.2.2-3 - Autorebuild for GCC 4.3 * Tue Jan 15 2008 Marcin Zajaczkowski - 0.2.2-2 - added compatibility with Python Eggs forced in F9 * Mon Aug 27 2007 Marcin Zajaczkowski - 0.2.2-1 - upgraded to 0.2.2 * Sun Aug 26 2007 Kevin Fenzi - 0.2.1-7 - Updated License tag * Wed Apr 25 2007 Marcin Zajaczkowski - 0.2.1-6 - added Provides/Obsoletes tags * Sat Apr 21 2007 Marcin Zajaczkowski - 0.2.1-5 - removed redundant after name change "exclude" tag - comments cleanup * Wed Apr 18 2007 Marcin Zajaczkowski - 0.2.1-4 - applied suggestions from Kevin Fenzi - name changed from python-libacl to pylibacl - corrected path to the source file * Fri Apr 6 2007 Marcin Zajaczkowski - 0.2.1-3 - fixed path to a source package * Thu Apr 5 2007 Marcin Zajaczkowski - 0.2.1-2 - added python-devel in BuildRequires - added Provides section - modified to Fedora Extras requirements * Sun Sep 11 2005 Dag Wieers - 0.2.1-1 - Initial package. (using DAR)