diff --git a/1.0.9.tar.gz b/1.0.9.tar.gz index f1d8371..81ef8d9 100644 --- a/1.0.9.tar.gz +++ b/1.0.9.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:874798166b9c5223f8d0df8898721646b918b9071e48d19e14f74aeea74f7fb1 -size 9338 +oid sha256:4ccc8c8cbaad258ed9538093c64196eb393504075bd0f06fb31276148be7abda +size 19572 diff --git a/python-metaextract.changes b/python-metaextract.changes index bd5a150..5d84d41 100644 --- a/python-metaextract.changes +++ b/python-metaextract.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Oct 14 05:40:11 UTC 2022 - Daniel Garcia + +- Change preun to postun for update alternatives +- Remove not needed setup.py patch +- Change shared files python-sitelib glob to package +- Update source package + ------------------------------------------------------------------- Thu Oct 13 15:05:49 UTC 2022 - Thomas Bechtold diff --git a/python-metaextract.spec b/python-metaextract.spec index da12296..4996ec2 100644 --- a/python-metaextract.spec +++ b/python-metaextract.spec @@ -35,7 +35,7 @@ Requires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires(post): update-alternatives -Requires(preun):update-alternatives +Requires(postun):update-alternatives %python_subpackages %description @@ -47,8 +47,6 @@ The tool was first developed in py2pack but is now its own module. %prep %setup -q -n metaextract-%{version} -# https://github.com/toabctl/metaextract/issues/13 -sed -i 's:.pytest-runner.::' setup.py %build %python_build @@ -62,7 +60,7 @@ sed -i 's:.pytest-runner.::' setup.py %post %python_install_alternative metaextract -%preun +%postun %python_uninstall_alternative metaextract %check @@ -73,6 +71,7 @@ sed -i 's:.pytest-runner.::' setup.py %doc README.rst %license LICENSE %python_alternative %{_bindir}/metaextract -%{python_sitelib}/* +%{python_sitelib}/metaextract +%{python_sitelib}/metaextract-%{version}*-info %changelog