From ceb619b42e1b6f6e96784d00977faddeccbae402c85577e2bd326f517b7dec37 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 14:14:04 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peppercorn?expand=0&rev=9 --- python-peppercorn.changes | 5 +++++ python-peppercorn.spec | 15 +++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/python-peppercorn.changes b/python-peppercorn.changes index c4f17e9..560217f 100644 --- a/python-peppercorn.changes +++ b/python-peppercorn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 14:13:47 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Tue May 21 07:49:00 UTC 2019 - pgajdos@suse.com diff --git a/python-peppercorn.spec b/python-peppercorn.spec index a8db445..7c8f5c9 100644 --- a/python-peppercorn.spec +++ b/python-peppercorn.spec @@ -23,18 +23,16 @@ Version: 0.6 Release: 0 Summary: Pyramid exceptions logger License: BSD-4-Clause AND ZPL-2.1 AND MIT -Group: Development/Languages/Python -Url: http://docs.pylonsproject.org/projects/peppercorn/en/latest/ +URL: https://docs.pylonsproject.org/projects/peppercorn/en/latest/ Source: https://files.pythonhosted.org/packages/source/p/peppercorn/peppercorn-%{version}.tar.gz -# Documentation requirements: -BuildRequires: python3-Sphinx # Testing requirements: BuildRequires: %{python_module coverage} BuildRequires: %{python_module nose} BuildRequires: %{python_module pylons-sphinx-themes} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Documentation requirements: +BuildRequires: python3-Sphinx BuildArch: noarch %python_subpackages @@ -49,7 +47,6 @@ documentation. %package -n %{name}-doc Summary: Documentation for Pyramid exceptions logger -Group: Documentation/HTML %description -n %{name}-doc This package contains documentation for %{name}. @@ -63,23 +60,21 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py nosetests --with-coverage %files %{python_files} -%defattr(-,root,root,-) %if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 %license LICENSE.txt %else -%doc LICENSE.txt +%license LICENSE.txt %endif %doc CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt README.rst contributing.md %{python_sitelib}/* %files -n %{name}-doc -%defattr(-,root,root,-) %doc build/sphinx/html %changelog