From d4eec9af2d6fc01d5e5de96628d321ebd0063c730e74bf1376dd7430b168a4d8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 14:51:07 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.i18nmessageid?expand=0&rev=10 --- python-zope.i18nmessageid.changes | 5 +++++ python-zope.i18nmessageid.spec | 15 ++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/python-zope.i18nmessageid.changes b/python-zope.i18nmessageid.changes index 5453713..05ac298 100644 --- a/python-zope.i18nmessageid.changes +++ b/python-zope.i18nmessageid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 14:50:49 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Fri Apr 5 10:09:51 UTC 2019 - Marketa Calabkova diff --git a/python-zope.i18nmessageid.spec b/python-zope.i18nmessageid.spec index 019be04..ee180a4 100644 --- a/python-zope.i18nmessageid.spec +++ b/python-zope.i18nmessageid.spec @@ -23,8 +23,7 @@ Version: 4.3.1 Release: 0 Summary: Zope Location License: ZPL-2.1 -Group: Development/Languages/Python -Url: http://www.python.org/pypi/zope.i18nmessageid +URL: https://www.python.org/pypi/zope.i18nmessageid Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -41,9 +40,8 @@ In Zope3, i18nmessageid are special objects that has a structural i18nmessageid. %package -n %{name}-doc Summary: Zope Location -Group: Development/Languages/Python -Provides: %{python_module zope.i18nmessageid-doc = %{version}} Requires: %{name} = %{version} +Provides: %{python_module zope.i18nmessageid-doc = %{version}} %description -n %{name}-doc This package contains documentation files for %{name}. @@ -54,25 +52,24 @@ rm -rf zope.i18nmessageid.egg-info %build %python_build -%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv +python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv %install %python_install # don't bother with development files %{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c - %fdupes -s %{buildroot}%{$python_sitearch} + %fdupes %{buildroot}%{$python_sitearch} } %check %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) -%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst +%license LICENSE.txt +%doc CHANGES.rst COPYRIGHT.txt README.rst %{python_sitearch}/* %files -n %{name}-doc -%defattr(-,root,root) %doc build/sphinx/html/ %changelog