import UBI python-appdirs-1.4.4-15.el10
This commit is contained in:
parent
d48e47346b
commit
01a0a0db40
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/appdirs-1.4.4.tar.gz
|
||||
appdirs-1.4.4.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
1fa04e44b1084338cb7b21e9cf44fce5efb81840 SOURCES/appdirs-1.4.4.tar.gz
|
@ -1,72 +1,98 @@
|
||||
%global srcname appdirs
|
||||
%bcond_without wheel
|
||||
%global wheelname %{srcname}-%{version}-py2.py3-none-any.whl
|
||||
|
||||
Name: python-%{srcname}
|
||||
Name: python-appdirs
|
||||
Version: 1.4.4
|
||||
Release: 4%{?dist}
|
||||
Release: 15%{?dist}
|
||||
Summary: Python module for determining platform-specific directories
|
||||
|
||||
# https://spdx.org/licenses/MIT.html
|
||||
License: MIT
|
||||
URL: https://github.com/ActiveState/appdirs
|
||||
Source0: %{pypi_source}
|
||||
Source: %{pypi_source appdirs}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%description
|
||||
A small Python module for determining appropriate " + " platform-specific
|
||||
directories, e.g. a "user data dir".
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%if %{with wheel}
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
%endif
|
||||
|
||||
%description -n python3-%{srcname}
|
||||
%package -n python3-appdirs
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-appdirs
|
||||
A small Python 3 module for determining appropriate " + " platform-specific
|
||||
directories, e.g. a "user data dir".
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
rm -vrf %{srcname}.egg-info
|
||||
%autosetup -n appdirs-%{version}
|
||||
sed -i -e '1{\@^#!/usr/bin/env python@d}' appdirs.py
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%if %{with wheel}
|
||||
%py3_build_wheel
|
||||
%else
|
||||
%py3_build
|
||||
%endif
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%if %{with wheel}
|
||||
%py3_install_wheel %{wheelname}
|
||||
%else
|
||||
%py3_install
|
||||
%endif
|
||||
%pyproject_install
|
||||
%pyproject_save_files appdirs
|
||||
|
||||
sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/%{srcname}.py
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
# upstream's tox.ini just wraps this command with no extra deps
|
||||
# we don't use %%tox here to avoid a dependency loop: tox->platformdirs->appdirs
|
||||
%{python3} setup.py test
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE.txt
|
||||
|
||||
%files -n python3-appdirs -f %{pyproject_files}
|
||||
%doc README.rst CHANGES.rst
|
||||
%{python3_sitelib}/%{srcname}*
|
||||
%{python3_sitelib}/__pycache__/%{srcname}.*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.4-4
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.4.4-15
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.4-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.4-14
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jul 07 2023 Parag Nemade <pnemade AT redhat DOT com> - 1.4.4-10
|
||||
- Help msuchy to count this package as already using SPDX license expression
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.4.4-9
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.4-6
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.4.4-3
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
Loading…
Reference in New Issue
Block a user