From f8d39484485fc491c9081fd78d2d3b9efe12e4fbbd1ca07c07c5cb043ab3a87b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 11:45:26 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Kivy?expand=0&rev=46 --- python-Kivy.changes | 5 +++++ python-Kivy.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-Kivy.changes b/python-Kivy.changes index 3d92993..66c8909 100644 --- a/python-Kivy.changes +++ b/python-Kivy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 11:45:09 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Fri Aug 9 13:59:39 UTC 2019 - Ondřej Súkup diff --git a/python-Kivy.spec b/python-Kivy.spec index f200610..aa06639 100644 --- a/python-Kivy.spec +++ b/python-Kivy.spec @@ -22,7 +22,6 @@ Version: 1.11.1 Release: 0 Summary: Hardware-accelerated multitouch application library License: MIT AND Apache-2.0 AND LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-only AND BSD-3-Clause -Group: Development/Languages/Python URL: https://kivy.org/ Source: https://github.com/kivy/kivy/archive/%{version}.tar.gz#/kivy-%{version}.tar.gz BuildRequires: %{python_module Cython} @@ -68,7 +67,6 @@ user interfaces, such as multi-touch apps. %package devel Summary: Development files for %{name} -Group: Development/Languages/Python Requires: %{name} = %{version} %description devel @@ -79,7 +77,6 @@ This package contains the headers and source files for extending kivy %package -n %{name}-doc Summary: Documentation for Kivy, a multitouch application library -Group: Documentation/HTML Provides: %{python_module Kivy-doc = %{version}} %description -n %{name}-doc @@ -109,7 +106,7 @@ sed -e '/^PYTHON/s/python/python3/' \ -e '/^SPHINXOPTS /s/$/ %{?_smp_mflags}/' \ -i Makefile export PYTHONPATH=`ls -d ../build/lib*` -make html && rm -r build/html/.buildinfo +make %{?_smp_mflags} html && rm -r build/html/.buildinfo popd %install @@ -119,8 +116,8 @@ popd install -dm0755 %{buildroot}%{_defaultdocdir}/%{name}-doc cp -a doc/build/html %{buildroot}/%{_defaultdocdir}/%{name}-doc -%python_expand %fdupes -s %{buildroot}%{$python_sitearch}/kivy -%fdupes -s %{buildroot}%{_defaultdocdir}/%{name}-doc +%python_expand %fdupes %{buildroot}%{$python_sitearch}/kivy +%fdupes %{buildroot}%{_defaultdocdir}/%{name}-doc # Disable tests, they randomly timeout # %%check