diff --git a/pytest_metadata-2.0.4.tar.gz b/pytest_metadata-2.0.4.tar.gz deleted file mode 100644 index e000cce..0000000 Binary files a/pytest_metadata-2.0.4.tar.gz and /dev/null differ diff --git a/pytest_metadata-3.0.0.tar.gz b/pytest_metadata-3.0.0.tar.gz new file mode 100644 index 0000000..670253a Binary files /dev/null and b/pytest_metadata-3.0.0.tar.gz differ diff --git a/python-pytest-metadata.spec b/python-pytest-metadata.spec index b7be834..3117a19 100644 --- a/python-pytest-metadata.spec +++ b/python-pytest-metadata.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-metadata -Version: 2.0.4 -Release: 2 +Version: 3.0.0 +Release: 1 Summary: pytest plugin for test session metadata License: MPL-2.0 URL: https://github.com/pytest-dev/pytest-metadata -Source0: https://files.pythonhosted.org/packages/4e/57/e26bd9b5caba5bfdb6b2916fcc875018c1c6ee80b159aee7acb19f8a81f1/pytest_metadata-2.0.4.tar.gz +Source0: https://files.pythonhosted.org/packages/fa/0a/2d380e69561a2fea3f395ef2504461cdb52387fba780d13796bfddc6a416/pytest_metadata-3.0.0.tar.gz BuildArch: noarch %description pytest plugin for test session metadata @@ -15,10 +15,8 @@ pytest plugin for test session metadata Summary: pytest plugin for test session metadata Provides: python-pytest-metadata BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip +BuildRequires: python3-pip python3-wheel python3-hatchling python3-hatch-vcs BuildRequires: python3-pbr -BuildRequires: python3-setuptools_scm Requires: python3-pytest %description -n python3-pytest-metadata pytest plugin for test session metadata @@ -32,46 +30,28 @@ pytest plugin for test session metadata %prep -%autosetup -n pytest_metadata-2.0.4 +%autosetup -n pytest_metadata-%{version} %build -%py3_build +%pyproject_build %install -%py3_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 -pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . -%files -n python3-pytest-metadata -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-pytest-metadata +%{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog +* Wed Jun 21 2023 chendexi - 3.0.0-1 +- Update package to version 3.0.0 + * Fri Dec 09 2022 liukuo - 2.0.4-2 - License compliance rectification