convert to new cmake rpm macros

This commit is contained in:
Miroslav Lichvar 2020-07-28 09:35:31 +02:00
parent 4e10604c2b
commit 91d2bb5b96
1 changed files with 3 additions and 3 deletions

View File

@ -97,13 +97,13 @@ done
%{?with_wlan: -DBUILD_WLAN=ON} \
%{?with_xdbe: -DBUILD_XDBE=ON} \
%{?!with_xinerama: -DBUILD_XINERAMA=OFF} \
.
;
make %{?_smp_mflags}
%cmake_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%cmake_install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/conky
install -m644 -p data/conky.conf $RPM_BUILD_ROOT%{_sysconfdir}/conky
rm -rf $RPM_BUILD_ROOT%{_docdir}/conky-*