diff options
author | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:07:23 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:07:23 +0800 |
commit | 308de7bfa32f95aefdc412b652e236c23dae5900 (patch) | |
tree | d036def2292ce6a1b5c2dbbd092571972c9c1259 | |
parent | 45a3267054d18df509d100df29c5550490cc26a5 (diff) | |
download | dlog-308de7bfa32f95aefdc412b652e236c23dae5900.tar.gz dlog-308de7bfa32f95aefdc412b652e236c23dae5900.tar.bz2 dlog-308de7bfa32f95aefdc412b652e236c23dae5900.zip |
update for beta universally
-rw-r--r-- | packaging/dlog.spec | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/packaging/dlog.spec b/packaging/dlog.spec index 8093001..5bd15c0 100644 --- a/packaging/dlog.spec +++ b/packaging/dlog.spec @@ -1,10 +1,11 @@ Name: dlog Summary: Logging service -Version: 0.4.0 +Version: 0.4.1 Release: 5.1 Group: TO_BE/FILLED_IN -License: TO BE FILLED IN +License: Apache-2.0 Source0: dlog-%{version}.tar.gz +Patch0: dev_error.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -32,6 +33,7 @@ dlog API library Summary: print log data to the screen Group: Development/Libraries Requires: lib%{name} = %{version}-%{release} +Requires(post): /bin/rm, /bin/ln %description -n dlogutil utilities for print log data @@ -40,12 +42,12 @@ utilities for print log data %prep %setup -q +%patch0 -p1 %build - -%autogen --disable-static -%configure --disable-static +%autogen +%configure make %{?jobs:-j%jobs} %install @@ -54,6 +56,7 @@ rm -rf %{buildroot} %post -n dlogutil #Add boot sequence script +mkdir -p /etc/rc.d/rc5.d rm -f /etc/rc.d/rc3.d/S05dlog /etc/rc.d/rc5.d/S05dlog ln -s /etc/rc.d/init.d/dlog.sh /etc/rc.d/rc3.d/S05dlog ln -s /etc/rc.d/init.d/dlog.sh /etc/rc.d/rc5.d/S05dlog |