17
0

Accepting request 738370 from devel:languages:python

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

OBS-URL: https://build.opensuse.org/request/show/738370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathtools?expand=0&rev=10
This commit is contained in:
2019-10-16 07:15:06 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 14:13:29 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Tue Dec 4 12:51:20 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pathtools
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,16 +20,14 @@
Name: python-pathtools
Version: 0.1.2
Release: 0
Url: http://github.com/gorakhargosh/pathtools
Summary: File system general utilities
License: MIT
Group: Development/Languages/Python
URL: https://github.com/gorakhargosh/pathtools
Source: https://files.pythonhosted.org/packages/source/p/pathtools/pathtools-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -47,11 +45,11 @@ cd docs && make html && rm -r build/html/.buildinfo # Build HTML docs
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README docs/build/html
%license LICENSE
%doc AUTHORS README docs/build/html
%{python_sitelib}/pathtools
%{python_sitelib}/pathtools-%{version}-py%{python_version}.egg-info