$RPM_BUILD_ROOT -> %{buildroot}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
16d6670418
commit
7b2734dcb7
18
xmlsec1.spec
18
xmlsec1.spec
@ -113,21 +113,21 @@ V=1 make
|
|||||||
sed 's+/lib64+/$archlib+g' < xmlsec1-config | sed 's+/lib+/$archlib+g' | sed 's+ -DXMLSEC_NO_SIZE_T++' > xmlsec1-config.$$ && mv xmlsec1-config.$$ xmlsec1-config
|
sed 's+/lib64+/$archlib+g' < xmlsec1-config | sed 's+/lib+/$archlib+g' | sed 's+ -DXMLSEC_NO_SIZE_T++' > xmlsec1-config.$$ && mv xmlsec1-config.$$ xmlsec1-config
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
mkdir -p %{buildroot}/usr/bin
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/include/xmlsec1
|
mkdir -p %{buildroot}/usr/include/xmlsec1
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/man/man1
|
mkdir -p %{buildroot}/usr/man/man1
|
||||||
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=%{buildroot} install
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
# move installed docs to include them in -devel package via %%doc magic
|
# move installed docs to include them in -devel package via %%doc magic
|
||||||
rm -rf __tmp_doc ; mkdir __tmp_doc
|
rm -rf __tmp_doc ; mkdir __tmp_doc
|
||||||
mv ${RPM_BUILD_ROOT}%{_docdir}/xmlsec1/* __tmp_doc
|
mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr ${RPM_BUILD_ROOT}
|
rm -fr %{buildroot}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user