14
0
forked from pool/python-urwid

- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=36
This commit is contained in:
2019-10-14 14:49:18 +00:00
committed by Git OBS Bridge
parent 9d4306c998
commit 2b382c914d
2 changed files with 12 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 14:49:05 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 25 16:52:59 UTC 2018 - aloisio@gmx.com Sun Feb 25 16:52:59 UTC 2018 - aloisio@gmx.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-urwid # spec file for package python-urwid
# #
# 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
@@ -21,16 +21,14 @@ Name: python-urwid
Version: 2.0.1 Version: 2.0.1
Release: 0 Release: 0
Summary: A full-featured console (xterm et al.) user interface library Summary: A full-featured console (xterm et al.) user interface library
License: LGPL-2.1+ License: LGPL-2.1-or-later
Group: Development/Languages/Python URL: http://urwid.org
Url: http://urwid.org
Source: https://files.pythonhosted.org/packages/source/u/urwid/urwid-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/u/urwid/urwid-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-curses Requires: python-curses
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages %python_subpackages
%description %description
@@ -57,7 +55,7 @@ find urwid -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%install %install
%python_install %python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
# this test won't work on OBS # this test won't work on OBS
@@ -65,8 +63,8 @@ rm -f urwid/tests/test_vterm.py
%python_exec setup.py -q test %python_exec setup.py -q test
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license COPYING
%doc COPYING README.rst %doc README.rst
%{python_sitearch}/urwid/ %{python_sitearch}/urwid/
%{python_sitearch}/urwid-%{version}-py%{python_version}.egg-info %{python_sitearch}/urwid-%{version}-py%{python_version}.egg-info