rpms/nut/devel nut.spec,1.65,1.66

Michal Hlavinka mhlavink at fedoraproject.org
Thu Dec 18 14:30:57 UTC 2008


Author: mhlavink

Update of /cvs/extras/rpms/nut/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12004

Modified Files:
	nut.spec 
Log Message:
remove rpath, fix libtool



Index: nut.spec
===================================================================
RCS file: /cvs/extras/rpms/nut/devel/nut.spec,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- nut.spec	18 Dec 2008 08:14:18 -0000	1.65
+++ nut.spec	18 Dec 2008 14:30:26 -0000	1.66
@@ -9,7 +9,7 @@
 Summary: Network UPS Tools
 Name: nut
 Version: 2.2.2
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group: Applications/System
 License: GPLv2+
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -124,7 +124,7 @@
 %patch6 -p1 -b .trippliteusb_476850
 
 %build
-autoreconf
+autoreconf -i
 %configure \
     --with-user=%{name} \
     --with-group=uucp \
@@ -141,6 +141,9 @@
 	--with-pkgconfig-dir=%{_libdir}/pkgconfig \
 	--disable-static
 
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
 make %{?_smp_mflags}
 
 # fix old enconding manpages
@@ -342,6 +345,9 @@
 %{_libdir}/pkgconfig/libupsclient.pc
 
 %changelog
+* Thu Dec 18 2008 Michal Hlavinka <mhlavink at redhat.com> 2.2.2-5
+- remove rpath, fix libtool
+
 * Wed Dec 17 2008 Michal Hlavinka <mhlavink at redhat.com> 2.2.2-4
 - fix #476850 - tripplite_usb driver segfaults when UPS on battery
 




More information about the fedora-extras-commits mailing list