- - fix ipmiconsole log directory

This commit is contained in:
Karsten Hopp 2009-01-22 10:58:40 +00:00
parent 463cbf1cdf
commit d0c9968190
2 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,24 @@
diff -up freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.am.pathsep freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.am
--- freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.am.pathsep 2009-01-22 11:44:25.000000000 +0100
+++ freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.am 2009-01-22 11:44:31.000000000 +0100
@@ -56,7 +56,7 @@ libipmiconsole_la_LIBADD = ../../../comm
install-data-hook: $(INSTALL_LOGDIR)
install-logdir:
- $(INSTALL) -m 755 -d $(DESTDIR)var/log/ipmiconsole
+ $(INSTALL) -m 755 -d $(DESTDIR)/var/log/ipmiconsole
EXTRA_DIST = ipmiconsole.map
diff -up freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.in.pathsep freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.in
--- freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.in.pathsep 2009-01-22 11:44:40.000000000 +0100
+++ freeipmi-0.6.4/ipmiconsole/src/libipmiconsole/Makefile.in 2009-01-22 11:45:05.000000000 +0100
@@ -643,7 +643,7 @@ uninstall-am: uninstall-includeHEADERS u
install-data-hook: $(INSTALL_LOGDIR)
install-logdir:
- $(INSTALL) -m 755 -d $(DESTDIR)var/log/ipmiconsole
+ $(INSTALL) -m 755 -d $(DESTDIR)/var/log/ipmiconsole
../../../common/src/libmiscutils.la: force-dependency-check
$(MAKE) -C $(dir $@) $(notdir $@)

View File

@ -5,9 +5,9 @@
%define name freeipmi %define name freeipmi
%define version 0.6.4 %define version 0.6.4
%if %{?_with_debug:1}%{!?_with_debug:0} %if %{?_with_debug:1}%{!?_with_debug:0}
%define release 1.debug%{?dist} %define release 2.debug%{?dist}
%else %else
%define release 1%{?dist} %define release 2%{?dist}
%endif %endif
Name: %{name} Name: %{name}
@ -20,6 +20,7 @@ Source: ftp://ftp.zresearch.com/pub/freeipmi/%{version}/%{name}-%{version}.tar.g
Patch1: freeipmi-0.5.1-regex.patch Patch1: freeipmi-0.5.1-regex.patch
Patch2: freeipmi-0.6.4-silent.patch Patch2: freeipmi-0.6.4-silent.patch
Patch3: freeipmi-0.6.4-argmax.patch Patch3: freeipmi-0.6.4-argmax.patch
Patch4: freeipmi-0.6.4-pathsep.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libgcrypt-devel texinfo BuildRequires: libgcrypt-devel texinfo
Requires(post): info Requires(post): info
@ -68,6 +69,7 @@ Provides a tool and a daemon for IPMI node detection.
%patch1 -p1 -b .regex %patch1 -p1 -b .regex
%patch2 -p1 -b .silent %patch2 -p1 -b .silent
%patch3 -p1 -b .argmax %patch3 -p1 -b .argmax
%patch4 -p1 -b .pathsep
%build %build
CFLAGS=-D_GNU_SOURCE %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ CFLAGS=-D_GNU_SOURCE %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
@ -259,6 +261,7 @@ fi
%{_mandir}/man5/ipmidetect.conf.5* %{_mandir}/man5/ipmidetect.conf.5*
%{_mandir}/man7/freeipmi.7* %{_mandir}/man7/freeipmi.7*
%dir %{_localstatedir}/cache/ipmimonitoringsdrcache %dir %{_localstatedir}/cache/ipmimonitoringsdrcache
%dir %{_localstatedir}/log/ipmiconsole
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -315,6 +318,9 @@ fi
%{_mandir}/man8/ipmidetectd.8* %{_mandir}/man8/ipmidetectd.8*
%changelog %changelog
* Thu Jan 22 2009 Karsten Hopp <karsten@redhat.com> 0.6.4-2
- fix ipmiconsole log directory
* Mon Jul 28 2008 Phil Knirsch <pknirsch@redhat.com> - 0.6.4-1 * Mon Jul 28 2008 Phil Knirsch <pknirsch@redhat.com> - 0.6.4-1
- Update to freeipmi-0.6.4 - Update to freeipmi-0.6.4
- Fixed unecessary logrotate message for bmc-watchdog (#456648) - Fixed unecessary logrotate message for bmc-watchdog (#456648)