2019-11-26 23:02:33 +00:00
Name : pyxattr
Summary : Extended attributes library wrapper for Python
2020-12-01 22:34:57 +00:00
Version : 0.7.2
2023-06-13 21:00:17 +00:00
Release : 9%{?dist}
2019-11-26 23:02:33 +00:00
License : LGPLv2+
URL : https://pyxattr.k1024.org/
Source0 : %{URL} /downloads/%{name} -%{version} .tar.gz
Source1 : %{URL} /downloads/%{name} -%{version} .tar.gz.asc
Source2 : https://k1024.org/files/key.asc
2019-11-27 23:59:19 +00:00
BuildRequires : gcc
BuildRequires : libattr-devel
BuildRequires : python3-devel
2020-06-23 21:26:30 +00:00
BuildRequires : python3-setuptools
2019-11-26 23:02:33 +00:00
BuildRequires : gnupg2
BuildRequires : %{py3_dist pytest}
2007-04-23 20:47:40 +00:00
2019-12-03 18:17:42 +00:00
%global _description %{expand:
Python extension module wrapper for libattr. It allows to query, list,
add and remove extended attributes from files and directories.}
2007-04-23 20:47:40 +00:00
2017-12-17 14:51:59 +00:00
%description %_description
2014-06-28 18:36:05 +00:00
%package -n python3-%{name}
2019-12-03 18:17:42 +00:00
Summary : %{summary}
2019-07-14 21:48:41 +00:00
%{?python_provide:%python_provide python3-%{name} }
2014-06-28 18:36:05 +00:00
2019-12-03 18:17:42 +00:00
%description -n python3-%{name} %_description
2014-06-28 18:36:05 +00:00
2007-04-23 20:47:40 +00:00
%prep
2019-12-03 18:17:42 +00:00
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
2019-07-14 21:48:41 +00:00
%autosetup
2014-06-28 18:36:05 +00:00
2007-04-23 20:47:40 +00:00
%build
2019-02-12 23:52:22 +00:00
%py3_build
2007-04-23 20:47:40 +00:00
%install
2019-02-12 23:52:22 +00:00
%py3_install
2014-06-28 18:36:05 +00:00
%check
2014-06-28 18:52:51 +00:00
# selinux in koji produces unexpected xattrs for tests
export TEST_IGNORE_XATTRS=security.selinux
2019-11-26 23:02:33 +00:00
# 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
2023-03-31 12:59:12 +00:00
# in Copr, skip tests that fail with OSError: [Errno 95] Operation not supported
python3 -m pytest tests %{?copr_projectname:-k 'not (binary_payload or create_on_existing or empty_value or large_value or many_ops or mixed_access or set_get_remove)' }
2007-04-23 20:47:40 +00:00
2014-06-28 18:36:05 +00:00
%files -n python3-%{name}
2020-07-13 19:04:43 +00:00
%{python3_sitearch} /xattr.cpython-%{python3_version_nodots} *
2014-06-28 18:36:05 +00:00
%{python3_sitearch} /*egg-info
2014-08-04 04:16:21 +00:00
%license COPYING
2019-11-26 23:02:33 +00:00
%doc NEWS README.md
2014-06-28 18:36:05 +00:00
2007-04-23 20:47:40 +00:00
%changelog
2023-06-13 21:00:17 +00:00
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.7.2-9
- Rebuilt for Python 3.12
2023-01-20 18:47:16 +00:00
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-07-22 23:48:57 +00:00
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-13 15:15:09 +00:00
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7.2-6
- Rebuilt for Python 3.11
2022-01-21 16:50:40 +00:00
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-07-23 10:33:29 +00:00
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-02 18:05:40 +00:00
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.7.2-3
- Rebuilt for Python 3.10
2021-01-27 14:29:23 +00:00
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-12-01 22:34:57 +00:00
* Tue Dec 1 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 0.7.2-1
- New upstream release 0.7.2
2020-07-29 04:56:08 +00:00
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-23 21:26:30 +00:00
* Tue Jun 23 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 0.7.1-5
- BuildRequire python3-setuptools besides python3-devel
(see https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/GCPGM34ZGEOVUHSBGZTRYR5XKHTIJ3T7/)
2020-05-22 18:53:19 +00:00
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.1-4
- Rebuilt for Python 3.9
2020-01-30 16:35:27 +00:00
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-12-03 18:17:42 +00:00
* Tue Dec 03 2019 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.7.1-2
- Backport RPM specification improvements from sister project pylibacl
2019-11-26 23:02:33 +00:00
* Tue Nov 26 2019 Dan Čermák <dan.cermak@cgc-instruments.com> - 0.7.1-1
- Update to 0.7.1
- Drop python2 subpackage
- Add gpg signature check
2019-08-15 17:00:17 +00:00
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-3
- Rebuilt for Python 3.8
2019-07-26 17:29:21 +00:00
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-07-14 21:48:41 +00:00
* Sun Jul 14 2019 Dan Čermák <dan.cermak@cgc-instruments.com> - 0.6.1-1
- Bump version to 0.6.1
- Simplify spec file
2019-02-02 10:25:00 +00:00
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-07-24 21:21:28 +00:00
* Tue Jul 24 2018 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.6-2
- Backport patch from 0.6.1 to fix issues with missing ENOATTR in libatttr 2.4.48
in Fedora 28/29 (#1603242, related to #1601482) - 0.5.6-1 was broken also in F28
2018-07-19 21:17:44 +00:00
* Thu Jul 19 2018 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.6-1
2018-07-24 20:41:44 +00:00
- Upgrade to 0.5.6 (transitional step before 0.6.x for Fedora <29)
2018-07-19 21:17:44 +00:00
- Drop Py_ssize_t patch applied upstream
2018-07-24 20:41:44 +00:00
- Update download URL
2018-07-19 21:17:44 +00:00
2018-07-12 18:11:00 +00:00
* Thu Jul 12 2018 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.3-18
- Add gcc to BuildRequires - https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-06-15 11:24:29 +00:00
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-17
- Rebuilt for Python 3.7
2018-02-09 12:04:00 +00:00
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-31 22:07:50 +00:00
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.3-15
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
2017-12-26 15:52:04 +00:00
* Tue Dec 26 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.3-14
- Also add Provides for the old name without %%_isa
2017-12-17 14:51:59 +00:00
* Sun Aug 13 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.3-13
- Python 2 binary package renamed to python2-pyxattr
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
2017-08-03 07:07:15 +00:00
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2017-07-27 12:30:44 +00:00
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-11 11:08:34 +00:00
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-12-11 11:23:00 +00:00
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.5.3-9
- Rebuild for Python 3.6
2016-07-19 12:22:45 +00:00
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-02-04 21:34:28 +00:00
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-10-14 08:57:05 +00:00
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 0.5.3-6
- Rebuilt for Python3.5 rebuild
- Change pattern for listed so file to reflect new naming in py35
2015-06-18 21:34:29 +00:00
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2014-08-17 22:09:01 +00:00
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-07 09:30:35 +00:00
* Thu Aug 7 2014 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.3-3
- add Mark Hamzy's patch to fix issue with PPC builds (bug 1127310)
2014-08-04 04:16:21 +00:00
* Mon Aug 4 2014 Tom Callaway <spot@fedoraproject.org> - 0.5.3-2
- fix license handling
2014-06-28 18:36:05 +00:00
* Sat Jun 28 2014 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-1
- Updated to 0.5.3
- Updated the website
- Updated download URL to PyPI
- Removed useless Require of python >= 2.2
- Use %%{pythonX_sitearch} macros
- Removed BuildRoot definition, %%clean section and rm -rf at the beginning of %%install
- Introduced Python 3 subpackage
- Introduced %%check and run the test suite
2014-06-08 00:48:34 +00:00
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2013-08-04 11:16:12 +00:00
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-02-14 21:01:48 +00:00
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-07-21 11:49:18 +00:00
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-26 13:04:24 +00:00
* Tue Jun 26 2012 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.1-1
- updated to 0.5.1
- fix bugs found with cpychecker (bug 809974)
2012-02-27 18:35:12 +00:00
* Mon Feb 27 2012 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.0-5
- remove prodive/obsolete of python-xattr (bug 781838)
- fix problem with mixed use of tabs and spaces
2012-01-14 02:23:48 +00:00
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-02-09 07:51:49 +00:00
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-07-22 06:07:45 +00:00
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-01-14 19:59:09 +00:00
* Sun Dec 27 2009 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.0-1
- updated to 0.5.0
- added support for unicode filenames (bug 479417)
2009-07-27 01:38:30 +00:00
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-02-27 00:31:36 +00:00
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-12-27 13:58:57 +00:00
* Sat Dec 6 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.4.0-2
- added python-setuptools in BuildRequires which is needed in build process
since version 0.4.0 (thanks to Kevin Fenzi)
* Fri Dec 5 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.4.0-1
- updated to 0.4.0
- License Tag adjusted to current licensing LGPLv2+
- modified Python Eggs support due to its usage in source distribution
2008-11-29 06:33:00 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.2-4
- Rebuild for Python 2.6
2008-02-20 03:39:18 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.2-3
- Autorebuild for GCC 4.3
2008-01-15 20:34:37 +00:00
* Tue Jan 15 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-2
- added compatibility with Python Eggs forced in F9
2007-08-27 18:44:12 +00:00
* Mon Aug 27 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-1
2007-08-27 18:35:04 +00:00
- upgraded to 0.2.2
2007-08-27 18:44:12 +00:00
* Sun Aug 26 2007 Kevin Fenzi <kevin@tummy.com> - 0.2.1-5
- Updated License tag
2007-08-27 18:35:04 +00:00
2007-04-25 19:08:35 +00:00
* Wed Apr 25 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-4
- added Provides/Obsoletes tags
2007-04-23 20:47:40 +00:00
* Sat Apr 21 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-3
- removed redundant after name change " e x c l u d e " tag
- comments cleanup
* Wed Apr 18 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-2
- applied suggestions from Kevin Fenzi
- name changed from python-xattr to pyxattr
- corrected path to the source file
* Thu Apr 5 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-1
- updated to 0.2.1
- added python-devel in BuildRequires
- added more doc files
- added Provides section
- modified to Fedora Extras requirements
* Sun Sep 11 2005 Dag Wieers <dag@wieers.com> - 0.2-1 - +/
- Initial package. (using DAR)