From 07f795062498257cb1c2233d76c0843b718546ff61710f6e59b238276e2eed85 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 14:40:34 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-random2?expand=0&rev=5 --- python-random2.changes | 5 +++++ python-random2.spec | 11 ++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python-random2.changes b/python-random2.changes index 4545707..10925d8 100644 --- a/python-random2.changes +++ b/python-random2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 14:40:23 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Wed Jun 28 07:32:51 UTC 2017 - aloisio@gmx.com diff --git a/python-random2.spec b/python-random2.spec index 3c9e49f..247271d 100644 --- a/python-random2.spec +++ b/python-random2.spec @@ -1,7 +1,7 @@ # # spec file for package python-random2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,14 +23,12 @@ Version: 1.0.1 Release: 0 Summary: A Session and Caching library with WSGI Middleware License: Python-2.0 -Group: Development/Languages/Python -Url: http://pypi.python.org/pypi/random2 +URL: https://pypi.python.org/pypi/random2 Source: https://files.pythonhosted.org/packages/source/r/random2/random2-%{version}.zip BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -54,13 +52,12 @@ adjusted. This package fixes that. %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 CHANGES.txt README.txt PKG-INFO %{python_sitelib}/*