forked from pool/python-peppercorn
Accepting request 738371 from devel:languages:python
Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/request/show/738371 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peppercorn?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 14:13:47 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 07:49:00 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user