Accepting request 1180876 from home:mcalabkova:branches:Cloud:Tools
- remove dependency on /usr/bin/python3 via using the macros (bsc#1212476) OBS-URL: https://build.opensuse.org/request/show/1180876 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=235
This commit is contained in:
parent
b1fd5494a3
commit
d05d826927
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 10:34:54 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- remove dependency on /usr/bin/python3 via using the macros (bsc#1212476)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 19:53:46 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
|
@ -174,14 +174,14 @@ version_pys=$(find . -name version.py -type f)
|
||||
sed -i "s,@@PACKAGED_VERSION@@,%{version}-%{release}," $version_pys
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
%python3_build
|
||||
|
||||
%check
|
||||
make unittest
|
||||
make lint
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib} --init-system=%{initsys} --distro=suse
|
||||
%python3_install --init-system=%{initsys} --distro=suse
|
||||
find %{buildroot} \( -name .gitignore -o -name .placeholder \) -delete
|
||||
# from debian install script
|
||||
for x in "%{buildroot}%{_bindir}/"*.py; do
|
||||
|
Loading…
Reference in New Issue
Block a user