rpms/OpenIPMI/devel OpenIPMI.spec,1.50,1.51

Phil Knirsch (pknirsch) fedora-extras-commits at redhat.com
Wed Jul 30 11:50:21 UTC 2008


Author: pknirsch

Update of /cvs/pkgs/rpms/OpenIPMI/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27163

Modified Files:
	OpenIPMI.spec 
Log Message:
- Fixed rpath problem in libOpenIPMIposix.so.0.0.1



Index: OpenIPMI.spec
===================================================================
RCS file: /cvs/pkgs/rpms/OpenIPMI/devel/OpenIPMI.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- OpenIPMI.spec	29 Jul 2008 16:14:26 -0000	1.50
+++ OpenIPMI.spec	30 Jul 2008 11:49:51 -0000	1.51
@@ -3,7 +3,7 @@
 Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
 Name: OpenIPMI
 Version: 2.0.14
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD and BSD with advertising and LGPLv2+ and GPLv2+
 Group: System Environment/Base
 URL: http://sourceforge.net/projects/openipmi/
@@ -15,7 +15,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
 BuildRequires: openssl-devel python-devel readline-devel popt-devel
-BuildRequires: perl-devel
+BuildRequires: perl-devel chrpath
 Requires(post): chkconfig
 Requires(preun): chkconfig
 
@@ -79,7 +79,6 @@
 export CFLAGS=-fPIC
 %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| -rpath \$(libdir)\( \$(libOpenIPMIposix_la_LDFLAGS)\)|\1|' unix/Makefile
 make
 pushd ipmitool-%{ipmitoolver}
 %configure
@@ -94,6 +93,8 @@
 %ifarch ppc64 s390x x86_64
 rm -rf $RPM_BUILD_ROOT/usr/lib
 %endif
+# Remove rpaths from libOpenIPMIposix.so.0.0.1
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libOpenIPMIposix.so.0.0.1
 pushd ipmitool-%{ipmitoolver}
 make install DESTDIR=$RPM_BUILD_ROOT
 #rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
@@ -177,6 +178,9 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Wed Jul 30 2008 Phil Knirsch <pknirsch at redhat.com> - 2.0.14-2
+- Fixed rpath problem in libOpenIPMIposix.so.0.0.1
+
 * Tue Jul 29 2008 Phil Knirsch <pknirsch at redhat.com> - 2.0.14-1
 - Fixed several specfile problems (#453751)
 - Update to OpenIPMI-2.0.14




More information about the fedora-extras-commits mailing list