2021-07-19 11:05:03 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-pytest-metadata
|
2023-06-21 02:43:26 +00:00
|
|
|
Version: 3.0.0
|
2024-05-08 17:37:45 +08:00
|
|
|
Release: 2
|
2021-07-19 11:05:03 +08:00
|
|
|
Summary: pytest plugin for test session metadata
|
2022-12-09 13:44:23 +08:00
|
|
|
License: MPL-2.0
|
2021-07-19 11:05:03 +08:00
|
|
|
URL: https://github.com/pytest-dev/pytest-metadata
|
2023-06-21 02:43:26 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/fa/0a/2d380e69561a2fea3f395ef2504461cdb52387fba780d13796bfddc6a416/pytest_metadata-3.0.0.tar.gz
|
2021-07-19 11:05:03 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%description
|
|
|
|
|
pytest plugin for test session metadata
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-pytest-metadata
|
|
|
|
|
Summary: pytest plugin for test session metadata
|
|
|
|
|
Provides: python-pytest-metadata
|
|
|
|
|
BuildRequires: python3-devel
|
2023-06-21 02:43:26 +00:00
|
|
|
BuildRequires: python3-pip python3-wheel python3-hatchling python3-hatch-vcs
|
2021-07-19 11:05:03 +08:00
|
|
|
BuildRequires: python3-pbr
|
|
|
|
|
Requires: python3-pytest
|
2024-05-08 17:37:45 +08:00
|
|
|
Patch0001: 0001-Fix-license-classifier-in-pyproject.toml.patch
|
2021-07-19 11:05:03 +08:00
|
|
|
%description -n python3-pytest-metadata
|
|
|
|
|
pytest plugin for test session metadata
|
|
|
|
|
|
|
|
|
|
|
2024-05-08 17:37:45 +08:00
|
|
|
|
2021-07-19 11:05:03 +08:00
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for pytest-metadata
|
|
|
|
|
Provides: python3-pytest-metadata-doc
|
|
|
|
|
%description help
|
|
|
|
|
pytest plugin for test session metadata
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-06-21 02:43:26 +00:00
|
|
|
%autosetup -n pytest_metadata-%{version}
|
2021-07-19 11:05:03 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-06-21 02:43:26 +00:00
|
|
|
%pyproject_build
|
2021-07-19 11:05:03 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-06-21 02:43:26 +00:00
|
|
|
%pyproject_install
|
2021-07-19 11:05:03 +08:00
|
|
|
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
|
|
|
|
|
|
2023-06-21 02:43:26 +00:00
|
|
|
%files -n python3-pytest-metadata
|
|
|
|
|
%{python3_sitelib}/*
|
2021-07-19 11:05:03 +08:00
|
|
|
|
2023-06-21 02:43:26 +00:00
|
|
|
%files help
|
2021-07-19 11:05:03 +08:00
|
|
|
%{_docdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-05-08 17:37:45 +08:00
|
|
|
* Tue May 7 2024 tenglei <tenglei@kylinos.cn> - 3.0.0-2
|
|
|
|
|
- Fix license classifier in pyproject.toml
|
|
|
|
|
|
2023-06-21 02:43:26 +00:00
|
|
|
* Wed Jun 21 2023 chendexi <chendexi@kylinos.cn> - 3.0.0-1
|
|
|
|
|
- Update package to version 3.0.0
|
|
|
|
|
|
2022-12-09 13:44:23 +08:00
|
|
|
* Fri Dec 09 2022 liukuo <liukuo@kylinos.cn> - 2.0.4-2
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2022-12-07 09:58:09 +08:00
|
|
|
* Wed Dec 07 2022 dingdingaaaaa <dingziwei@kylinos.cn> - 2.0.4-1
|
|
|
|
|
- Upgrade version to 2.0.4
|
|
|
|
|
|
2021-07-19 11:05:03 +08:00
|
|
|
* Fri Jul 09 2021 openstack-sig <openstack@openeuler.org>
|
|
|
|
|
- Package Spec generated
|