- Fix build failure on 32-bit platforms
This commit is contained in:
parent
47a59a2838
commit
65a0512242
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: libtalloc
|
Name: libtalloc
|
||||||
Version: 2.0.5
|
Version: 2.0.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Summary: The talloc library
|
Summary: The talloc library
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -64,9 +64,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
|
|||||||
rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
|
rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
|
||||||
|
|
||||||
# Work around incorrect build-system location
|
# Work around incorrect build-system location
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}
|
if [ ! -e $RPM_BUILD_ROOT/%{python_sitearch}/talloc.so ]; then
|
||||||
mv $RPM_BUILD_ROOT/usr/lib/python%{python_version}/site-packages/talloc.so \
|
mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}
|
||||||
$RPM_BUILD_ROOT/%{python_sitearch}
|
mv $RPM_BUILD_ROOT/usr/lib/python%{python_version}/site-packages/talloc.so \
|
||||||
|
$RPM_BUILD_ROOT/%{python_sitearch}
|
||||||
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -100,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-4
|
||||||
|
- Fix build failure on 32-bit platforms
|
||||||
|
|
||||||
* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-3
|
* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-3
|
||||||
- New version from upstream
|
- New version from upstream
|
||||||
- Add support for pytalloc
|
- Add support for pytalloc
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user