forked from pool/python-unidiff
Accepting request 707158 from home:pgajdos
- run the testsuite, call spec-cleaner OBS-URL: https://build.opensuse.org/request/show/707158 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unidiff?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
05c2f55879
commit
6381b5f7af
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 3 11:23:41 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- run the testsuite, call spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:55:35 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:55:35 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-unidiff
|
# spec file for package python-unidiff
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -23,20 +23,22 @@ Release: 0
|
|||||||
Summary: Unified diff parsing/metadata extraction library
|
Summary: Unified diff parsing/metadata extraction library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/matiasb/python-unidiff
|
URL: http://github.com/matiasb/python-unidiff
|
||||||
Source: https://files.pythonhosted.org/packages/source/u/unidiff/unidiff-%{version}.tar.gz
|
Source: https://github.com/matiasb/python-unidiff/archive/v%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python library to parse and interact with unified diff data.
|
Python library to parse and interact with unified diff data.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n unidiff-%{version}
|
%setup -q -n python-unidiff-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -45,8 +47,10 @@ Python library to parse and interact with unified diff data.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc HISTORY README.rst
|
%doc HISTORY README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python3_only %{_bindir}/unidiff
|
%python3_only %{_bindir}/unidiff
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9c9ab5fb96b6988b4cd5def6b275492442c04a570900d33aa6373105780025bc
|
|
||||||
size 12376
|
|
3
v0.5.5.tar.gz
Normal file
3
v0.5.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5d351e402191b10e6b5164e6ce40b683f5f63eaedccc9a17d3ed47bbe3873634
|
||||||
|
size 13510
|
Reference in New Issue
Block a user