14
0

- 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
This commit is contained in:
2019-10-14 14:45:10 +00:00
committed by Git OBS Bridge
parent 7f8dd6d12c
commit 021ff77988
2 changed files with 9 additions and 5 deletions

View File

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

View File

@@ -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