forked from pool/spec-cleaner
Accepting request 900714 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/900714 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=68
This commit is contained in:
commit
28c65df4c1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 17 09:43:14 UTC 2021 - Atilla ÖNTAŞ <tarakbumba@gmail.com>
|
||||||
|
|
||||||
|
- Fix: Use Mageia specific macro for Mageia builds in spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 17 06:02:08 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
Tue Nov 17 06:02:08 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -50,14 +50,22 @@ user to use spec-cleaner rather than to stick to perl based format_spec_file.
|
|||||||
rm pytest.ini
|
rm pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?mageia}
|
||||||
|
%py3_build
|
||||||
|
%else
|
||||||
%python3_build
|
%python3_build
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
python3 -m pytest -k "not webtest" tests/*-tests.py
|
python3 -m pytest -k "not webtest" tests/*-tests.py
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if 0%{?mageia}
|
||||||
|
%py3_install
|
||||||
|
%else
|
||||||
%python3_install
|
%python3_install
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -90,7 +98,11 @@ python3 -m pytest -k "not webtest" tests/*-tests.py
|
|||||||
%{python3_sitelib}/spec_cleaner/rpmscriplets.py
|
%{python3_sitelib}/spec_cleaner/rpmscriplets.py
|
||||||
%{python3_sitelib}/spec_cleaner/rpmsection.py
|
%{python3_sitelib}/spec_cleaner/rpmsection.py
|
||||||
%{python3_sitelib}/spec_cleaner/__pycache__
|
%{python3_sitelib}/spec_cleaner/__pycache__
|
||||||
|
%if 0%{?mageia}
|
||||||
|
%{python3_sitelib}/*.egg-info
|
||||||
|
%else
|
||||||
%{python3_sitelib}/spec_cleaner-%{version}-py%{py3_ver}.egg-info
|
%{python3_sitelib}/spec_cleaner-%{version}-py%{py3_ver}.egg-info
|
||||||
|
%endif
|
||||||
%dir %{_datadir}/%{name}/
|
%dir %{_datadir}/%{name}/
|
||||||
%{_datadir}/%{name}/excludes-bracketing.txt
|
%{_datadir}/%{name}/excludes-bracketing.txt
|
||||||
%{_datadir}/%{name}/licenses_changes.txt
|
%{_datadir}/%{name}/licenses_changes.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user