14
0

Accepting request 809551 from home:pgajdos:python

submit

OBS-URL: https://build.opensuse.org/request/show/809551
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-actdiag?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal
2020-05-28 07:34:19 +00:00
committed by Git OBS Bridge
parent 3536893a51
commit 3c9c982a2d
2 changed files with 16 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 27 09:35:59 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 25 15:57:30 UTC 2020 - Thomas Bechtold <tbechtold@suse.com> Tue Feb 25 15:57:30 UTC 2020 - Thomas Bechtold <tbechtold@suse.com>

View File

@@ -31,13 +31,15 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-blockdiag >= 1.5.0 Requires: python-blockdiag >= 1.5.0
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 || 0%{?rhel} >= 8 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 || 0%{?rhel} >= 8
Suggests: python-docutils Suggests: python-docutils
Suggests: python-nose Suggests: python-nose
Suggests: python-pep8 >= 1.3 Suggests: python-pep8 >= 1.3
Suggests: python-reportlab Suggests: python-reportlab
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -51,12 +53,19 @@ actdiag generates activity-diagram image files from spec-text files.
%install %install
%python_install %python_install
%python_clone -a %{buildroot}%{_bindir}/actdiag
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative actdiag
%postun
%python_uninstall_alternative actdiag
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%python3_only %{_bindir}/actdiag %python_alternative %{_bindir}/actdiag
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog