use %make_build/%make_install
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
09ddbc50ac
commit
ee9b54e2b4
@ -99,18 +99,18 @@ sed -i 's|#!/usr/bin/python |#!%{__python3} |' py3doc/*.py
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{_smp_mflags}
|
||||
%make_build
|
||||
|
||||
find doc -type f -exec chmod 0644 \{\} \;
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
make clean
|
||||
%configure --with-python=%{__python3}
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
# multiarch crazyness on timestamp differences or Makefile/binaries for examples
|
||||
touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{_bindir}/xml2-config
|
||||
|
Loading…
Reference in New Issue
Block a user