From b9b55bdfe93e57a8b2f3343d07af7b3fa82417a0db08ca0f76a8577b18e677e3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 14:13:41 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathtools?expand=0&rev=11 --- python-pathtools.changes | 5 +++++ python-pathtools.spec | 12 +++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/python-pathtools.changes b/python-pathtools.changes index d9e3f64..ca9a2d4 100644 --- a/python-pathtools.changes +++ b/python-pathtools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 14:13:29 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Tue Dec 4 12:51:20 UTC 2018 - Matej Cepl diff --git a/python-pathtools.spec b/python-pathtools.spec index ed0fcd8..42ee00d 100644 --- a/python-pathtools.spec +++ b/python-pathtools.spec @@ -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