!13 [sync] PR-12: 将 /usr/bin/ninja 改为 /usr/bin/python-ninja
From: @openeuler-sync-bot Reviewed-by: @desert-sailor Signed-off-by: @desert-sailor
This commit is contained in:
commit
38b7d664cb
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-ninja
|
Name: python-ninja
|
||||||
Version: 1.11.1.1
|
Version: 1.11.1.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A small build system with a focus on speed.
|
Summary: A small build system with a focus on speed.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/ninja-build/ninja
|
URL: https://github.com/ninja-build/ninja
|
||||||
@ -23,7 +23,6 @@ A small build system with a focus on speed.
|
|||||||
%package -n python3-ninja
|
%package -n python3-ninja
|
||||||
Summary: A small build system with a focus on speed.
|
Summary: A small build system with a focus on speed.
|
||||||
Provides: python-ninja
|
Provides: python-ninja
|
||||||
Obsoletes: ninja-build
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-hatchling
|
BuildRequires: python3-hatchling
|
||||||
@ -63,11 +62,12 @@ if [ -d usr/share/man ]; then
|
|||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
mv %{buildroot}/%{_bindir}/ninja %{buildroot}/%{_bindir}/python-ninja
|
||||||
|
|
||||||
%files -n python3-ninja
|
%files -n python3-ninja
|
||||||
%doc README.rst AUTHORS.rst
|
%doc README.rst AUTHORS.rst
|
||||||
%license LICENSE_Apache_20
|
%license LICENSE_Apache_20
|
||||||
%{_bindir}/ninja
|
%{_bindir}/python-ninja
|
||||||
%{python3_sitearch}/ninja
|
%{python3_sitearch}/ninja
|
||||||
%{python3_sitearch}/ninja*.dist-info/
|
%{python3_sitearch}/ninja*.dist-info/
|
||||||
|
|
||||||
@ -76,6 +76,10 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 23 2024 Shinwell Hu <micromotive@qq.com> - 1.11.1.1-4
|
||||||
|
- Python-ninja should never obsolate ninja-build.
|
||||||
|
- Rename /usr/bin/ninja shipped in this package to /usr/bin/python-ninja
|
||||||
|
|
||||||
* Mon Apr 08 2024 zhangxianting <zhangxianting@uniontech.com> - 1.11.1.1-3
|
* Mon Apr 08 2024 zhangxianting <zhangxianting@uniontech.com> - 1.11.1.1-3
|
||||||
- Fix install conflicts
|
- Fix install conflicts
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user