14
0

Accepting request 834141 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/834141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyjavaproperties?expand=0&rev=2
This commit is contained in:
2020-09-14 10:30:36 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 11 10:44:33 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Remove pyjavaproperties_test.py from runtime package
- Update URL
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 19 06:06:52 UTC 2019 - John Vandenberg <jayvdb@gmail.com> Tue Feb 19 06:06:52 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyjavaproperties # spec file for package python-pyjavaproperties
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# Copyright (c) 2012 Abel Luck <abel@guardianproject.info> # Copyright (c) 2012 Abel Luck <abel@guardianproject.info>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -20,10 +20,10 @@
Name: python-pyjavaproperties Name: python-pyjavaproperties
Version: 0.7 Version: 0.7
Release: 0 Release: 0
Summary: A python library for parsing Java properties Summary: Python library for parsing Java properties
License: MIT License: MIT
Group: Development/Languages/Python 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 Source0: https://files.pythonhosted.org/packages/source/p/pyjavaproperties/pyjavaproperties-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@@ -44,7 +44,11 @@ sed -i '/^#!/d' pyjavaproperties.py pyjavaproperties_test.py
%install %install
%python_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 %check
%python_exec pyjavaproperties_test.py %python_exec pyjavaproperties_test.py