diff --git a/python-twine.spec b/python-twine.spec index 12bfa8d76a55e33887e8cbce9190e6675ab9df7b..9c9fcccff7bf5b58fe408c5de9a83e2db97341d0 100644 --- a/python-twine.spec +++ b/python-twine.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-twine -Version: 4.0.2 -Release: 2 +Version: 5.0.0 +Release: 1 Summary: Collection of utilities for publishing packages on PyPI License: Apache-2.0 URL: https://twine.readthedocs.io/ -Source0: https://files.pythonhosted.org/packages/b7/1a/a7884359429d801cd63c2c5512ad0a337a509994b0e42d9696d4778d71f6/twine-4.0.2.tar.gz +Source0: https://files.pythonhosted.org/packages/d3/cc/8025ad5102a5c754023092143b8b511e184ec087dfbfb357d7d88fb82bff/twine-5.0.0.tar.gz BuildArch: noarch Requires: python3-pkginfo @@ -57,39 +57,22 @@ and usage instructions, and links to additional resources. %install %pyproject_install twine==%{version} 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-twine -f filelist.lst -%dir %{python3_sitelib}/* -%{python3_sitelib}/twine - -%files help -f doclist.lst + +%files -n python3-twine +%{python3_sitelib}/* +%{_bindir}/twine + +%files help %{_docdir}/* %changelog +* Wed Jul 31 2024 dongqi - 5.0.0-1 +- Update package to version 5.0.0 +- add setuptools to test deps +- Update classifiers for newer Pythons +- drop Python 3.7 + + * Thu Apr 27 2023 caodongxia - 4.0.2-2 - Adapting to the pyproject.toml compilation mode diff --git a/twine-4.0.2.tar.gz b/twine-4.0.2.tar.gz deleted file mode 100644 index a4adf154149b64e20f3351d9c16e397d1b06999a..0000000000000000000000000000000000000000 Binary files a/twine-4.0.2.tar.gz and /dev/null differ diff --git a/twine-5.0.0.tar.gz b/twine-5.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e5bac9b3971810094dcc52905b30d19aaede818c Binary files /dev/null and b/twine-5.0.0.tar.gz differ