The package rpms/python-xattr.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-xattr.git/commit/?id=2e494353....
Change: +ExcludeArch: %{ix86}
Thanks.
Full change: ============
commit 2e4943530faf76f0ce34403c85e54fc616edfc8b Author: Otto Liljalaakso otto.liljalaakso@iki.fi Date: Thu Oct 27 00:09:58 2022 +0300
Exclude i686 architecture
This package is not needed for multilib, thus building for i686 is not useful.
diff --git a/python-xattr.spec b/python-xattr.spec index e8aa75e..b7854af 100644 --- a/python-xattr.spec +++ b/python-xattr.spec @@ -14,6 +14,9 @@ BuildRequires: python3-devel # Test dependencies BuildRequires: pytest
+# Not needed for multilib +ExcludeArch: %{ix86} + %global _description %{expand: Extended attributes extend the basic attributes of files and directories in the file system. They are stored as name:data pairs associated with file system
commit dad8e14eaf21e03cd926362f027446a8ec0db3a7 Author: Otto Liljalaakso otto.liljalaakso@iki.fi Date: Thu Oct 27 00:01:45 2022 +0300
Initial version
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..05db5f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/v0.10.0.tar.gz diff --git a/python-xattr.spec b/python-xattr.spec new file mode 100644 index 0000000..e8aa75e --- /dev/null +++ b/python-xattr.spec @@ -0,0 +1,59 @@ + + +Name: python-xattr +Version: 0.10.0 +Release: %autorelease +Summary: Python wrapper for extended filesystem attributes + +License: MIT +URL: https://github.com/xattr/xattr +Source: %{url}/archive/v%{version}/v%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: python3-devel +# Test dependencies +BuildRequires: pytest + +%global _description %{expand: +Extended attributes extend the basic attributes of files and directories in the +file system. They are stored as name:data pairs associated with file system +objects (files, directories, symlinks, etc). +} + +%description %_description + +%package -n python3-xattr +Summary: %{summary} + +%description -n python3-xattr %_description + + +%prep +%autosetup -p1 -n xattr-%{version} + + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files xattr + + +%check +%pytest + + +%files -n python3-xattr -f %{pyproject_files} +%doc CHANGES.txt README.rst TODO.txt +%license LICENSE.txt +%{_bindir}/xattr + + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..1e1d135 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (v0.10.0.tar.gz) = 01b6949364b59cdb6980220ae17e6bb8be3ae6395113c4abc82f68faa898918665f525780c2ad476944ded8dcda765ca1ed107ed9c66a82f36302cb013cee66b
arch-excludes@lists.fedoraproject.org