14
0

Accepting request 532594 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/532594
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=2
This commit is contained in:
Todd R
2017-10-09 00:45:23 +00:00
committed by Git OBS Bridge
parent 1c838354c7
commit 0f0059807f
2 changed files with 17 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Oct 8 16:02:56 UTC 2017 - arun@gmx.de
- convert to singlespec
- update copyright year
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 10 11:17:08 UTC 2015 - tbechtold@suse.com Fri Jul 10 11:17:08 UTC 2015 - tbechtold@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-seqdiag # spec file for package python-seqdiag
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 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
@@ -16,6 +16,7 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-seqdiag Name: python-seqdiag
Version: 0.9.5 Version: 0.9.5
Release: 0 Release: 0
@@ -24,9 +25,10 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://blockdiag.com/ Url: http://blockdiag.com/
Source: https://pypi.python.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz Source: https://pypi.python.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz
BuildRequires: python-blockdiag >= 1.5.0 BuildRequires: %{python_module blockdiag >= 1.5.0}
BuildRequires: python-devel BuildRequires: %{python_module devel}
BuildRequires: python-setuptools BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-blockdiag >= 1.5.0 Requires: python-blockdiag >= 1.5.0
Requires: python-setuptools Requires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -35,6 +37,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%else %else
BuildArch: noarch BuildArch: noarch
%endif %endif
%python_subpackages
%description %description
`seqdiag` generate sequence-diagram image file from spec-text file. `seqdiag` generate sequence-diagram image file from spec-text file.
@@ -46,15 +49,15 @@ BuildArch: noarch
%setup -q -n seqdiag-%{version} %setup -q -n seqdiag-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%files %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGES.rst LICENSE README.rst %doc CHANGES.rst LICENSE README.rst
%{_bindir}/seqdiag %python3_only %{_bindir}/seqdiag
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog