1
0

Accepting request 1158316 from security:privacy

- Testing on SLE-15 is just too much.

OBS-URL: https://build.opensuse.org/request/show/1158316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pass-git-helper?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-03-17 21:13:55 +00:00 committed by Git OBS Bridge
commit 634ff78fa2
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 15 08:23:55 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Testing on SLE-15 is just too much.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 2 19:21:38 UTC 2023 - Matej Cepl <mcepl@suse.com> Sat Sep 2 19:21:38 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pass-git-helper # spec file for package python-pass-git-helper
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,6 +17,11 @@
%define modname pass-git-helper %define modname pass-git-helper
%if 0%{?suse_version} < 1600
%bcond_with test
%else
%bcond_without test
%endif
Name: python-pass-git-helper Name: python-pass-git-helper
Version: 1.4.0 Version: 1.4.0
Release: 0 Release: 0
@ -29,16 +34,18 @@ BuildRequires: %{python_module dataclasses >= 0.7 if %python-base < 3.7}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test}
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pyxdg} BuildRequires: %{python_module pyxdg}
# /SECTION # /SECTION
%endif
BuildRequires: fdupes BuildRequires: fdupes
Requires: python-pyxdg Requires: python-pyxdg
BuildArch: noarch BuildArch: noarch
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
%python_subpackages %python_subpackages
%description %description
@ -59,7 +66,9 @@ sed -i -e '1{\@^#!%{_bindir}/env python@d}' passgithelper.py
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%if %{with test}
%pytest %pytest
%endif
%post %post
%python_install_alternative pass-git-helper %python_install_alternative pass-git-helper