From d163fa9b4bd7c527da684baa70d1bae87200011d03fd35289a534d5976ae0d19 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 20 Jan 2021 04:38:22 +0000 Subject: [PATCH] - 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 --- python-cfgdiff.changes | 5 +++++ python-cfgdiff.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-cfgdiff.changes b/python-cfgdiff.changes index 63455f7..6499d83 100644 --- a/python-cfgdiff.changes +++ b/python-cfgdiff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 20 04:37:21 UTC 2021 - Steve Kowalik + +- Also clone the cfgdiff.1 manual page as an alternative + ------------------------------------------------------------------- Tue Nov 24 16:22:01 UTC 2020 - John Vandenberg diff --git a/python-cfgdiff.spec b/python-cfgdiff.spec index 9826846..235a96d 100644 --- a/python-cfgdiff.spec +++ b/python-cfgdiff.spec @@ -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