forked from pool/gnuhealth-thalamus
Accepting request 1154268 from Application:ERP:GNUHealth:4.4
- limit python build to latest python version OBS-URL: https://build.opensuse.org/request/show/1154268 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth-thalamus?expand=0&rev=23
This commit is contained in:
parent
7fac40b1bd
commit
eeaeee0768
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 2 09:23:21 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- limit python build to latest python version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 10:11:10 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
|
@ -17,9 +17,17 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without test
|
||||
%bcond_without test 1
|
||||
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%define pythons python3
|
||||
%define mypython python3
|
||||
%define mysitelib %python3_sitelib
|
||||
%else
|
||||
%{?sle15_python_module_pythons}
|
||||
%define skip_python39 1
|
||||
%define mypython %pythons
|
||||
%define mysitelib %{expand:%%%{mypython}_sitelib}
|
||||
%endif
|
||||
|
||||
%define modname thalamus
|
||||
Name: gnuhealth-%{modname}
|
||||
@ -88,12 +96,12 @@ independent server that can be used in different health related scenarios.
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}%{mysitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{mysitelib}/thalamus*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user