SPECS: upstart.spec - rel 4; reexec init on telinit q(Q); trigger for glibc
arekm
arekm at pld-linux.org
Fri Nov 14 19:03:04 CET 2008
Author: arekm Date: Fri Nov 14 18:03:04 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 4; reexec init on telinit q(Q); trigger for glibc
---- Files affected:
SPECS:
upstart.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/upstart.spec
diff -u SPECS/upstart.spec:1.31 SPECS/upstart.spec:1.32
--- SPECS/upstart.spec:1.31 Wed Nov 12 08:57:44 2008
+++ SPECS/upstart.spec Fri Nov 14 19:02:58 2008
@@ -3,12 +3,13 @@
Summary(pl.UTF-8): Oparty na zdarzeniach demon init
Name: upstart
Version: 0.5.0
-Release: 3
+Release: 4
License: GPL v2
Group: Base
Source0: http://edge.launchpad.net/upstart/0.5/%{version}/+download/%{name}-%{version}.tar.gz
# Source0-md5: df5e2db549b6ebf406d48419831a66b8
Patch0: %{name}-oomfail.patch
+Patch1: %{name}-uU.patch
URL: https://launchpad.net/upstart
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
@@ -37,13 +38,13 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__aclocal} -I m4
%{__autoconf}
%{__automake}
-%configure \
- --enable-compat
+%configure
%{__make}
%install
@@ -62,9 +63,15 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+/sbin/telinit u || :
+
%postun -p /sbin/ldconfig
+%triggerpostun -- glibc
+/sbin/telinit u || :
+
%files -f upstart.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog HACKING NEWS TODO
@@ -91,6 +98,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2008/11/14 18:02:58 arekm
+- rel 4; reexec init on telinit q(Q); trigger for glibc
+
Revision 1.31 2008/11/12 07:57:44 arekm
- rel3; don't fail if setting oom_adj fails.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/upstart.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list