forked from pool/python-pyjavaproperties
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:
@@ -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>
|
||||
|
||||
|
@@ -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 <abel@guardianproject.info>
|
||||
#
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user