forked from pool/python-termstyle
- 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:
@@ -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>
|
Tue Dec 4 12:55:08 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-termstyle
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -23,12 +23,12 @@ Version: 0.1.11
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Console colouring for Python
|
Summary: Console colouring for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
URL: https://github.com/gfxmonk/termstyle
|
||||||
Url: http://github.com/gfxmonk/termstyle
|
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/termstyle/termstyle-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/termstyle/termstyle-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Obsoletes: %{oldpython}-python-termstyle < %{version}
|
Obsoletes: %{oldpython}-python-termstyle < %{version}
|
||||||
Provides: %{oldpython}-python-termstyle = %{version}
|
Provides: %{oldpython}-python-termstyle = %{version}
|
||||||
@@ -37,7 +37,6 @@ Provides: %{oldpython}-python-termstyle = %{version}
|
|||||||
Provides: python3-python-termstyle = %{version}
|
Provides: python3-python-termstyle = %{version}
|
||||||
Obsoletes: python3-python-termstyle < %{version}
|
Obsoletes: python3-python-termstyle < %{version}
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,7 +53,7 @@ sed -i '1s/^#!.*//' termstyle.py
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
#%%check
|
#%%check
|
||||||
#export LANG=C.UTF-8
|
#export LANG=C.UTF-8
|
||||||
|
Reference in New Issue
Block a user