- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testing?expand=0&rev=15
This commit is contained in:
Matej Cepl 2019-10-14 14:51:55 +00:00 committed by Git OBS Bridge
parent f4a1621e28
commit 66316b1cb5
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 14:51:47 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Fri Apr 5 14:44:29 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -22,14 +22,12 @@ Version: 4.7
Release: 0
Summary: Zope testing helpers
License: ZPL-2.1
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/zope.testing
URL: https://pypi.python.org/pypi/zope.testing
Source: https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
# Test requirements:
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -91,14 +89,14 @@ wait
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt README.rst
%license LICENSE.txt
%doc COPYRIGHT.txt README.rst
%{python_sitelib}/*
%changelog