15
0

- Also clone the cfgdiff.1 manual page as an alternative

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cfgdiff?expand=0&rev=5
This commit is contained in:
2021-01-20 04:38:22 +00:00
committed by Git OBS Bridge
parent 6e0591b768
commit d163fa9b4b
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 20 04:37:21 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Also clone the cfgdiff.1 manual page as an alternative
-------------------------------------------------------------------
Tue Nov 24 16:22:01 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cfgdiff
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -65,12 +66,13 @@ cfgdiff currently supports the following formats:
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/cfgdiff
%python_clone -a %{buildroot}%{_mandir}/man1/cfgdiff.1
%post
%python_install_alternative cfgdiff
%python_install_alternative cfgdiff cfgdiff.1
%postun
%python_uninstall_alternative cfgdiff
%python_uninstall_alternative cfgdiff cfgdiff.1
%check
%python_exec -m unittest discover test/ -v
@@ -79,6 +81,6 @@ cfgdiff currently supports the following formats:
%license LICENSE README.md
%{python_sitelib}/*
%python_alternative %{_bindir}/cfgdiff
%{_mandir}/man1/cfgdiff.1%{?ext_man}
%python_alternative %{_mandir}/man1/cfgdiff.1%{?ext_man}
%changelog