- With all the cnages we dont need cmake.rules anymore, so try to
remove them completely and lets see what fails OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=234
This commit is contained in:
committed by
Git OBS Bridge
parent
c51e9382c9
commit
9517bf9dfc
@@ -25,7 +25,6 @@ Group: Development/Tools/Building
|
||||
Url: http://www.cmake.org/
|
||||
Source0: http://www.cmake.org/files/v3.4/%{name}-%{version}.tar.gz
|
||||
Source1: cmake.macros
|
||||
Source2: opensuse_rules.cmake
|
||||
Source3: cmake.attr
|
||||
Source4: cmake.prov
|
||||
Source5: http://www.cmake.org/files/v3.4/%{name}-%{version}-SHA-256.txt
|
||||
@@ -90,11 +89,6 @@ mkdir -p %{buildroot}%{_libdir}/cmake
|
||||
find %{buildroot}%{_datadir}/cmake -type f -print0 | xargs -0 chmod 644
|
||||
# rpm macros
|
||||
install -m644 %{SOURCE1} -D %{buildroot}%{_sysconfdir}/rpm/macros.cmake
|
||||
# buildrules
|
||||
install -m644 %{SOURCE2} -D %{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake
|
||||
sed -i \
|
||||
-e 's:OPTFLAGS:%{optflags}:g' \
|
||||
%{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake
|
||||
|
||||
# RPM auto provides
|
||||
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_libexecdir}/rpm/fileattrs/cmake.attr
|
||||
|
Reference in New Issue
Block a user