15
0

Accepting request 947880 from home:dimstar:Factory

- Update to version 0.0.0+git.1641843506.dc1234a:
  * Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.5.0
  * make version pep440 compatible

OBS-URL: https://build.opensuse.org/request/show/947880
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cfgdiff?expand=0&rev=7
This commit is contained in:
2022-01-21 11:32:38 +00:00
committed by Git OBS Bridge
parent d163fa9b4b
commit 27b64cd778
5 changed files with 16 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cfgdiff
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cfgdiff
Version: 0.0.0+git.1487961889.dc4e96e
Version: 0.0.0+git.1641843506.dc1234a
Release: 0
Summary: Cfgdiff -- diff(1) all your configuration files
License: MIT
@@ -66,21 +66,19 @@ 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 cfgdiff.1
%python_install_alternative cfgdiff
%postun
%python_uninstall_alternative cfgdiff cfgdiff.1
%python_uninstall_alternative cfgdiff
%check
%python_exec -m unittest discover test/ -v
%python_exec -m unittest discover tests/ -v
%files %{python_files}
%license LICENSE README.md
%{python_sitelib}/*
%python_alternative %{_bindir}/cfgdiff
%python_alternative %{_mandir}/man1/cfgdiff.1%{?ext_man}
%changelog