nitpick, use %{buildroot}
This commit is contained in:
parent
6db10f4c86
commit
c0f9286546
@ -47,12 +47,12 @@ sed -i \
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
make install DESTDIR=%{buildroot} INSTALL='install -p'
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
# remove double of doc
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit $RPM_BUILD_ROOT%{_datadir}/%{name}/html
|
||||
rm -rf %{buildroot}%{_datadir}/doc/cppunit %{buildroot}%{_datadir}/%{name}/html
|
||||
# remove unused cppunit-config
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/cppunit-config $RPM_BUILD_ROOT%{_mandir}/man1/cppunit-config.1* $RPM_BUILD_ROOT%{_datadir}/aclocal/cppunit.m4
|
||||
rm -f %{buildroot}%{_bindir}/cppunit-config %{buildroot}%{_mandir}/man1/cppunit-config.1* %{buildroot}%{_datadir}/aclocal/cppunit.m4
|
||||
|
||||
# clean up examples
|
||||
rm -rf __dist-examples __dist-examples-dir
|
||||
|
Loading…
Reference in New Issue
Block a user