- Fixed rpath problem in libOpenIPMIposix.so.0.0.1
This commit is contained in:
parent
2f8c3231b2
commit
9e8e57ea1b
@ -3,7 +3,7 @@
|
|||||||
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
||||||
Name: OpenIPMI
|
Name: OpenIPMI
|
||||||
Version: 2.0.14
|
Version: 2.0.14
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD and BSD with advertising and LGPLv2+ and GPLv2+
|
License: BSD and BSD with advertising and LGPLv2+ and GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceforge.net/projects/openipmi/
|
URL: http://sourceforge.net/projects/openipmi/
|
||||||
@ -15,7 +15,7 @@ Patch100: ipmitool-1.8.9-open.patch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
||||||
BuildRequires: openssl-devel python-devel readline-devel popt-devel
|
BuildRequires: openssl-devel python-devel readline-devel popt-devel
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel chrpath
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(preun): chkconfig
|
Requires(preun): chkconfig
|
||||||
|
|
||||||
@ -79,7 +79,6 @@ popd
|
|||||||
export CFLAGS=-fPIC
|
export CFLAGS=-fPIC
|
||||||
%configure --with-pythoninstall=%{python_sitearch}
|
%configure --with-pythoninstall=%{python_sitearch}
|
||||||
sed -i 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
|
sed -i 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
|
||||||
sed -i 's| -rpath \$(libdir)\( \$(libOpenIPMIposix_la_LDFLAGS)\)|\1|' unix/Makefile
|
|
||||||
make
|
make
|
||||||
pushd ipmitool-%{ipmitoolver}
|
pushd ipmitool-%{ipmitoolver}
|
||||||
%configure
|
%configure
|
||||||
@ -94,6 +93,8 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|||||||
%ifarch ppc64 s390x x86_64
|
%ifarch ppc64 s390x x86_64
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/lib
|
rm -rf $RPM_BUILD_ROOT/usr/lib
|
||||||
%endif
|
%endif
|
||||||
|
# Remove rpaths from libOpenIPMIposix.so.0.0.1
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libOpenIPMIposix.so.0.0.1
|
||||||
pushd ipmitool-%{ipmitoolver}
|
pushd ipmitool-%{ipmitoolver}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
#rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
#rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
||||||
@ -177,6 +178,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 30 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-2
|
||||||
|
- Fixed rpath problem in libOpenIPMIposix.so.0.0.1
|
||||||
|
|
||||||
* Tue Jul 29 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-1
|
* Tue Jul 29 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-1
|
||||||
- Fixed several specfile problems (#453751)
|
- Fixed several specfile problems (#453751)
|
||||||
- Update to OpenIPMI-2.0.14
|
- Update to OpenIPMI-2.0.14
|
||||||
|
Loading…
Reference in New Issue
Block a user