14
0
forked from pool/python-first

Accepting request 1249262 from home:ecsos:python

- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1249262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-first?expand=0&rev=12
This commit is contained in:
2025-03-03 10:32:02 +00:00
committed by Git OBS Bridge
parent 04ccb4764a
commit 807ba6aa62
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 27 10:53:17 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Thu Oct 13 07:18:51 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-first
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-first
Version: 2.0.2
Release: 0
@@ -43,6 +43,11 @@ A Python library that returns the first true value of an iterable.
%install
%python_install
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}
find . -name '*.pyc' -exec rm -f '{}' ';'
popd
#
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check