68 lines
2.0 KiB
RPMSpec
68 lines
2.0 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
Name: python-trove-classifiers
|
|
Version: 2024.1.8
|
|
Release: 1
|
|
Summary: Canonical source for classifiers on PyPI (pypi.org).
|
|
License: Apache-2.0
|
|
URL: https://github.com/pypa/trove-classifiers
|
|
Source0: https://files.pythonhosted.org/packages/44/e4/9de7cda4a03a996758fbdb7ddacc071b4c62fdcd645e0a1192a22e8c55c0/trove-classifiers-2024.1.8.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pbr
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
|
|
%description
|
|
Canonical source for classifiers on PyPI (pypi.org).
|
|
|
|
%package -n python3-trove-classifiers
|
|
Summary: Canonical source for classifiers on PyPI (pypi.org).
|
|
Provides: python-trove-classifiers
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-hatchling
|
|
%description -n python3-trove-classifiers
|
|
Canonical source for classifiers on PyPI (pypi.org).
|
|
|
|
%package help
|
|
Summary: Development documents and examples for trove-classifiers
|
|
Provides: python3-trove-classifiers-doc
|
|
|
|
%description help
|
|
Development documents and examples for trove-classifiers.
|
|
|
|
%prep
|
|
%autosetup -n trove-classifiers-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
%files -n python3-trove-classifiers
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python3_sitelib}/trove_classifiers
|
|
%{python3_sitelib}/trove_classifiers*.dist-info/
|
|
|
|
|
|
%files help
|
|
%{_docdir}/*
|
|
|
|
%changelog
|
|
* Mon Apr 22 2024 zhaojingyu <zhaojingyu@kylinos.cn> - 2024.1.8-1
|
|
- update package to version 2024.1.8
|
|
- Added classifiers for Controller Area Network
|
|
|
|
* Thu Nov 2 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2023.10.18-1
|
|
- Init package
|