!56 Fix abnormal empty link in cmake-data package
From: @lyn1001 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
e062461942
13
cmake.spec
13
cmake.spec
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: cmake
|
Name: cmake
|
||||||
Version: 3.24.3
|
Version: 3.24.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Cross-platform make system
|
Summary: Cross-platform make system
|
||||||
License: BSD and MIT and zlib
|
License: BSD and MIT and zlib
|
||||||
URL: http://www.cmake.org
|
URL: http://www.cmake.org
|
||||||
@ -44,6 +44,9 @@ BuildRequires: bzip2-devel curl-devel expat-devel jsoncpp-devel libarchive-deve
|
|||||||
BuildRequires: libuv-devel xz-devel zlib-devel cmake-rpm-macros
|
BuildRequires: libuv-devel xz-devel zlib-devel cmake-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: pkgconfig(bash-completion)
|
||||||
|
%global bash_completionsdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null || echo '%{_datadir}/bash-completion/completions')
|
||||||
|
|
||||||
Requires: cmake-data = %{version}-%{release} cmake-rpm-macros = %{version}-%{release}
|
Requires: cmake-data = %{version}-%{release} cmake-rpm-macros = %{version}-%{release}
|
||||||
Requires: cmake-filesystem = %{version}-%{release}
|
Requires: cmake-filesystem = %{version}-%{release}
|
||||||
Provides: cmake3 = %{version}-%{release} bundled(md5-deutsch) bundled(kwsys)
|
Provides: cmake3 = %{version}-%{release} bundled(md5-deutsch) bundled(kwsys)
|
||||||
@ -134,11 +137,6 @@ for f in ccmake cmake cpack ctest;
|
|||||||
do
|
do
|
||||||
ln -s $f %{buildroot}%{_bindir}/${f}3;
|
ln -s $f %{buildroot}%{_bindir}/${f}3;
|
||||||
done
|
done
|
||||||
install -d %{buildroot}%{_datadir}/bash-completion/completions
|
|
||||||
for f in %{buildroot}%{_datadir}/cmake/completions/*
|
|
||||||
do
|
|
||||||
ln -s ../../cmake/completions/$(basename $f) %{buildroot}%{_datadir}/bash-completion/completions
|
|
||||||
done
|
|
||||||
install -d %{buildroot}%{_emacs_sitelispdir}/cmake
|
install -d %{buildroot}%{_emacs_sitelispdir}/cmake
|
||||||
install -p -m 0644 Auxiliary/cmake-mode.el %{buildroot}%{_emacs_sitelispdir}/cmake/cmake-mode.el
|
install -p -m 0644 Auxiliary/cmake-mode.el %{buildroot}%{_emacs_sitelispdir}/cmake/cmake-mode.el
|
||||||
%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/cmake/cmake-mode.el
|
%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/cmake/cmake-mode.el
|
||||||
@ -238,6 +236,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%exclude %{_pkgdocdir}/Copyright.txt
|
%exclude %{_pkgdocdir}/Copyright.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 14 2023 liyanan <liyanan61@h-partners.com> - 3.24.3-2
|
||||||
|
- Fix abnormal empty link in cmake-data package
|
||||||
|
|
||||||
* Mon Nov 14 2022 jchzhou <zhoujiacheng@iscas.ac.cn> - 3.24.3-1
|
* Mon Nov 14 2022 jchzhou <zhoujiacheng@iscas.ac.cn> - 3.24.3-1
|
||||||
- Update to 3.24.3
|
- Update to 3.24.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user