SHA256
3
0
forked from pool/cmake

Accepting request 822366 from home:dimstar:Factory

- Install the rpm provides handler to the correct location
  (%{_rpmconfigdir, not %{_libexecdir}).

OBS-URL: https://build.opensuse.org/request/show/822366
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=421
This commit is contained in:
Martin Pluskal 2020-07-24 06:14:49 +00:00 committed by Git OBS Bridge
parent 834ab94420
commit 8f70e89d4e
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 23 10:38:42 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Install the rpm provides handler to the correct location
(%{_rpmconfigdir, not %{_libexecdir}).
-------------------------------------------------------------------
Thu Jul 16 15:36:16 UTC 2020 - Christoph G <foss@grueninger.de>

View File

@ -170,8 +170,8 @@ find %{buildroot}%{_datadir}/cmake -type f -print0 | xargs -0 chmod 644
install -m644 %{SOURCE1} -D %{buildroot}%{_rpmconfigdir}/macros.d/macros.cmake
# RPM auto provides
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_libexecdir}/rpm/fileattrs/cmake.attr
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_libexecdir}/rpm/cmake.prov
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
# fix: W: files-duplicate (%%license covers already)
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
@ -215,7 +215,8 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
%license Copyright.txt
%doc README.rst
%{_rpmconfigdir}/macros.d/macros.cmake
%{_libexecdir}/rpm
%{_fileattrsdir}/cmake.attr
%{_rpmconfigdir}/cmake.prov
%{_bindir}/cpack
%{_bindir}/cmake
%{_bindir}/ctest