forked from pool/python-acefile
Accepting request 809550 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/809550 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-acefile?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
9c8e51225c
commit
17f3f367b6
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 09:35:56 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 7 11:38:05 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-acefile
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -31,6 +31,8 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -46,12 +48,19 @@ export CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/acefile-unace
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%post
|
||||
%python_install_alternative acefile-unace
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative acefile-unace
|
||||
|
||||
%files %{python_files}
|
||||
%doc NEWS.md README.md
|
||||
%license LICENSE.md
|
||||
%python3_only %{_bindir}/acefile-unace
|
||||
%python_alternative %{_bindir}/acefile-unace
|
||||
%{python_sitearch}/*
|
||||
|
||||
%check
|
||||
|
||||
Reference in New Issue
Block a user