From 021ff77988a5c04d3bd56471294834e5f36f11a9563ba5e1a4061b5609d23836 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 14:45:10 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-termstyle?expand=0&rev=15 --- python-termstyle.changes | 5 +++++ python-termstyle.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-termstyle.changes b/python-termstyle.changes index 0451b44..7d41c00 100644 --- a/python-termstyle.changes +++ b/python-termstyle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 14:45:01 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Tue Dec 4 12:55:08 UTC 2018 - Matej Cepl diff --git a/python-termstyle.spec b/python-termstyle.spec index 865aa6d..06afcd9 100644 --- a/python-termstyle.spec +++ b/python-termstyle.spec @@ -1,7 +1,7 @@ # # spec file for package python-termstyle # -# 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 @@ -23,12 +23,12 @@ Version: 0.1.11 Release: 0 Summary: Console colouring for Python License: BSD-3-Clause -Group: Development/Languages/Python -Url: http://github.com/gfxmonk/termstyle +URL: https://github.com/gfxmonk/termstyle Source: https://files.pythonhosted.org/packages/source/t/termstyle/termstyle-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch %ifpython2 Obsoletes: %{oldpython}-python-termstyle < %{version} Provides: %{oldpython}-python-termstyle = %{version} @@ -37,7 +37,6 @@ Provides: %{oldpython}-python-termstyle = %{version} Provides: python3-python-termstyle = %{version} Obsoletes: python3-python-termstyle < %{version} %endif -BuildArch: noarch %python_subpackages %description @@ -54,7 +53,7 @@ sed -i '1s/^#!.*//' termstyle.py %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} #%%check #export LANG=C.UTF-8