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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.classes?expand=0&rev=5
This commit is contained in:
Matej Cepl 2019-10-14 13:46:32 +00:00 committed by Git OBS Bridge
parent 8dee1d64d0
commit b590526e87
3 changed files with 7 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dcc2c4a8ca4b344cdbf2e1be7124a5c4f192574cdbb453b62350ae8240a2caf5
size 9911

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 13:44:35 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 27 01:05:26 UTC 2019 - John Vandenberg <jayvdb@gmail.com> Wed Feb 27 01:05:26 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -22,8 +22,7 @@ Version: 2.0
Release: 0 Release: 0
Summary: Tools to work with classes Summary: Tools to work with classes
License: MIT License: MIT
Group: Development/Languages/Python URL: https://github.com/jaraco/jaraco.classes
Url: https://github.com/jaraco/jaraco.classes
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-%{version}.tar.gz
BuildRequires: %{python_module jaraco.base >= 6.1} BuildRequires: %{python_module jaraco.base >= 6.1}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@ -35,7 +34,6 @@ BuildRequires: python-rpm-macros
Requires: python-jaraco.base >= 6.1 Requires: python-jaraco.base >= 6.1
Requires: python-six Requires: python-six
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -53,7 +51,7 @@ sed -i 's/--flake8//' pytest.ini
# We will package the namespace __init__.py separately # We will package the namespace __init__.py separately
%{python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py* %{python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py*
rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
%fdupes -s %{buildroot}%{$python_sitelib} %fdupes %{buildroot}%{$python_sitelib}
} }
%check %check