forked from pool/cmake
Accepting request 678963 from home:dancermak:branches:devel:tools:building
Add cmake-mode.el without BuildRequires: emacs This should not create a build loop as the first sr. Also, cmake now builds on Leap 42 and SLE 12 OBS-URL: https://build.opensuse.org/request/show/678963 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=353
This commit is contained in:
parent
92161e1afb
commit
9063369946
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 25 13:53:26 UTC 2019 - Dan Čermák <dcermak@suse.com>
|
||||||
|
|
||||||
|
- Install cmake-mode.el
|
||||||
|
* remove a left over .orig file on Leap <= 42.3 and SLE 12 <= SP3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 20 15:52:37 UTC 2019 - schwab@suse.de
|
Wed Feb 20 15:52:37 UTC 2019 - schwab@suse.de
|
||||||
|
|
||||||
|
13
cmake.spec
13
cmake.spec
@ -116,6 +116,17 @@ do
|
|||||||
ln -s ../../%{name}/completions/$(basename $f) %{buildroot}%{_datadir}/bash-completion/completions
|
ln -s ../../%{name}/completions/$(basename $f) %{buildroot}%{_datadir}/bash-completion/completions
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# cmake-mode.el
|
||||||
|
%define cmake_mode_el %{_datadir}/emacs/site-lisp/%{name}-mode.el
|
||||||
|
install -D -p -m 0644 Auxiliary/cmake-mode.el %{buildroot}%{cmake_mode_el}
|
||||||
|
rm %{buildroot}%{_datadir}/%{name}/editors/emacs/cmake-mode.el
|
||||||
|
|
||||||
|
# SLE12 or OpenSUSE Leap 42
|
||||||
|
%if 0%{?suse_version} == 1315
|
||||||
|
# remove left over orig file
|
||||||
|
rm %{buildroot}%{_datadir}/%{name}/Modules/FindPythonInterp.cmake.orig
|
||||||
|
%endif
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_datadir}/cmake
|
%fdupes %{buildroot}%{_datadir}/cmake
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -142,5 +153,7 @@ done
|
|||||||
%{_datadir}/aclocal/cmake.m4
|
%{_datadir}/aclocal/cmake.m4
|
||||||
%doc %{_docdir}/%{name}
|
%doc %{_docdir}/%{name}
|
||||||
%{_datadir}/bash-completion
|
%{_datadir}/bash-completion
|
||||||
|
%{cmake_mode_el}
|
||||||
|
%dir %{dirname:%{cmake_mode_el}}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user