From 92e966022cdee8beba13544260ccaff3807e54c5de28c331d002a7e83bbc56ed Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 12 Feb 2007 00:48:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/src_vipa?expand=0&rev=2 --- src_vipa-ignore_ldconfig.patch | 11 +++++++++++ src_vipa.changes | 5 +++++ src_vipa.spec | 9 +++++++-- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 src_vipa-ignore_ldconfig.patch diff --git a/src_vipa-ignore_ldconfig.patch b/src_vipa-ignore_ldconfig.patch new file mode 100644 index 0000000..ff4be3a --- /dev/null +++ b/src_vipa-ignore_ldconfig.patch @@ -0,0 +1,11 @@ +--- Makefile ++++ Makefile +@@ -43,7 +43,7 @@ + $(INSTALL) -m 755 src_vipa.so $(SRC_VIPA_PATH) + $(INSTALL) -m 755 src_vipa.sh $(SRC_VIPA_STARTER_PATH) + $(INSTALL) -m 644 src_vipa.8 $(SRC_VIPA_MANPAGE_PATH)/man8 +- ldconfig ++ -/sbin/ldconfig + + clean: + rm -f src_vipa.{i,s,o,sh,so} core diff --git a/src_vipa.changes b/src_vipa.changes index 9207567..d50aab2 100644 --- a/src_vipa.changes +++ b/src_vipa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 12 01:47:25 CET 2007 - ro@suse.de + +- fix build as non-root + ------------------------------------------------------------------- Fri Aug 25 08:09:22 CEST 2006 - aj@suse.de diff --git a/src_vipa.spec b/src_vipa.spec index 7cb6a17..e3cc33e 100644 --- a/src_vipa.spec +++ b/src_vipa.spec @@ -1,18 +1,19 @@ # # spec file for package src_vipa (Version 2.0.3) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild Name: src_vipa URL: http://www10.software.ibm.com/developerworks/opensource/linux390/useful_add-ons.shtml Version: 2.0.3 -Release: 14 +Release: 37 Summary: Virtual Source IP address support for HA solutions License: Other License(s), see package Group: Productivity/Clustering/HA @@ -20,6 +21,7 @@ Autoreqprov: on Source: src_vipa-%version.tar.gz Patch: src_vipa.makefile.patch Patch1: src_vipa.build.patch +Patch2: src_vipa-ignore_ldconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -36,6 +38,7 @@ further information. %setup -q -n %name %patch %patch1 +%patch2 %build make SRC_VIPA_PATH=%_libdir @@ -56,6 +59,8 @@ make INSTROOT=%buildroot SRC_VIPA_PATH=%buildroot%_libdir install %attr(555,root,root) %_libdir/src_vipa* %changelog -n src_vipa +* Mon Feb 12 2007 - ro@suse.de +- fix build as non-root * Fri Aug 25 2006 - aj@suse.de - Fix build. - Do not set LD_LIBRARY without need.