From 9950db37a459cdf84c2b7fd2686ef41af42a73f59b29456fefd2586e5f2a9076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 13 Sep 2020 17:40:52 +0000 Subject: [PATCH] Accepting request 834038 from home:jayvdb:branches:devel:languages:python - Remove pyjavaproperties_test.py from runtime package - Update URL OBS-URL: https://build.opensuse.org/request/show/834038 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyjavaproperties?expand=0&rev=4 --- python-pyjavaproperties.changes | 6 ++++++ python-pyjavaproperties.spec | 12 ++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/python-pyjavaproperties.changes b/python-pyjavaproperties.changes index db2daca..d53a4c7 100644 --- a/python-pyjavaproperties.changes +++ b/python-pyjavaproperties.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 11 10:44:33 UTC 2020 - John Vandenberg + +- Remove pyjavaproperties_test.py from runtime package +- Update URL + ------------------------------------------------------------------- Tue Feb 19 06:06:52 UTC 2019 - John Vandenberg diff --git a/python-pyjavaproperties.spec b/python-pyjavaproperties.spec index e3b58f6..dccd7fc 100644 --- a/python-pyjavaproperties.spec +++ b/python-pyjavaproperties.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyjavaproperties # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2012 Abel Luck # # All modifications and additions to the file contributed by third parties @@ -20,10 +20,10 @@ Name: python-pyjavaproperties Version: 0.7 Release: 0 -Summary: A python library for parsing Java properties +Summary: Python library for parsing Java properties License: MIT Group: Development/Languages/Python -URL: https://github.com/toofishes/python-pyjavaproperties +URL: https://bitbucket.org/skeptichacker/pyjavaproperties Source0: https://files.pythonhosted.org/packages/source/p/pyjavaproperties/pyjavaproperties-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -44,7 +44,11 @@ sed -i '/^#!/d' pyjavaproperties.py pyjavaproperties_test.py %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +# Upstream patch to not install test module +# https://bitbucket.org/skeptichacker/pyjavaproperties/pull-requests/1 +%{python_expand rm %{buildroot}%{$python_sitelib}/pyjavaproperties_test.py +%fdupes %{buildroot}%{$python_sitelib} +} %check %python_exec pyjavaproperties_test.py