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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-linecache2?expand=0&rev=10
This commit is contained in:
Matej Cepl 2019-10-14 14:00:03 +00:00 committed by Git OBS Bridge
parent b8923dda86
commit c95ba547e6
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 13:59:51 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 17 15:56:06 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org> Thu Jan 17 15:56:06 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -24,9 +24,8 @@ Summary: Backports of the linecache module
# This is a backport of code taken from the Python codebase, # This is a backport of code taken from the Python codebase,
# and such is under the same license as Python as a whole. # and such is under the same license as Python as a whole.
License: Python-2.0 License: Python-2.0
Group: Development/Languages/Python
URL: https://github.com/testing-cabal/linecache2 URL: https://github.com/testing-cabal/linecache2
Source: https://pypi.io/packages/source/l/linecache2/linecache2-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/l/linecache2/linecache2-%{version}.tar.gz
BuildRequires: %{python_module pbr} BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@ -48,10 +47,9 @@ A backport of linecache to older supported Pythons.
%install %install
%python_install %python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%doc README.rst AUTHORS ChangeLog %doc README.rst AUTHORS ChangeLog
# Contains the license # Contains the license
%doc setup.cfg %doc setup.cfg