New upstream release
This commit is contained in:
parent
1d8a2b9768
commit
342c431001
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@
|
|||||||
x86_64/
|
x86_64/
|
||||||
systemd-*src.rpm
|
systemd-*src.rpm
|
||||||
/systemd-18.tar.bz2
|
/systemd-18.tar.bz2
|
||||||
|
/systemd-19.tar.bz2
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
42a47d6fa60b7f3fe92fa22027713b32 systemd-18.tar.bz2
|
32de12b132a2f6c270d422d682362a91 systemd-19.tar.bz2
|
||||||
|
19
systemd.spec
19
systemd.spec
@ -1,7 +1,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: http://www.freedesktop.org/wiki/Software/systemd
|
Url: http://www.freedesktop.org/wiki/Software/systemd
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Version: 18
|
Version: 19
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -22,12 +22,14 @@ BuildRequires: libnotify-devel >= 0.7
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: make
|
||||||
|
Requires(post): authconfig
|
||||||
Requires: systemd-units = %{version}-%{release}
|
Requires: systemd-units = %{version}-%{release}
|
||||||
Requires: dbus >= 1.3.2
|
Requires: dbus >= 1.3.2
|
||||||
Requires: udev >= 160
|
Requires: udev >= 160
|
||||||
Requires: libudev >= 160
|
Requires: libudev >= 160
|
||||||
Requires: initscripts >= 9.22
|
Requires: initscripts >= 9.22
|
||||||
Requires: selinux-policy >= 3.8.7
|
Conflicts: selinux-policy < 3.8.7
|
||||||
Requires: kernel >= 2.6.35.2-9.fc14
|
Requires: kernel >= 2.6.35.2-9.fc14
|
||||||
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.bz2
|
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.bz2
|
||||||
# Adds support for the %%{_unitdir} macro
|
# Adds support for the %%{_unitdir} macro
|
||||||
@ -102,7 +104,7 @@ ln -s ../bin/systemctl %{buildroot}/sbin/runlevel
|
|||||||
# them.
|
# them.
|
||||||
rm -r %{buildroot}/etc/systemd/system/*.target.wants
|
rm -r %{buildroot}/etc/systemd/system/*.target.wants
|
||||||
|
|
||||||
# Make sure the %ghost-ing below works
|
# Make sure the ghost-ing below works
|
||||||
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target
|
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target
|
||||||
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel3.target
|
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel3.target
|
||||||
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel4.target
|
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel4.target
|
||||||
@ -127,6 +129,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%post
|
%post
|
||||||
/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
|
/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
|
||||||
|
|
||||||
|
# Make sure pam_systemd is enabled
|
||||||
|
if ! /bin/grep -q pam_systemd /etc/pam.d/system-auth-ac ; then
|
||||||
|
/usr/sbin/authconfig --update >/dev/null 2>&1 || :
|
||||||
|
|
||||||
|
# Try harder
|
||||||
|
/bin/grep -q pam_systemd /etc/pam.d/system-auth-ac || /usr/sbin/authconfig --updateall >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
%post units
|
%post units
|
||||||
if [ $1 -eq 1 ] ; then
|
if [ $1 -eq 1 ] ; then
|
||||||
# Try to read default runlevel from the old inittab if it exists
|
# Try to read default runlevel from the old inittab if it exists
|
||||||
@ -240,6 +250,9 @@ fi
|
|||||||
%{_mandir}/man1/systemadm.*
|
%{_mandir}/man1/systemadm.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 1 2011 Lennart Poettering <lpoetter@redhat.com> - 19-1
|
||||||
|
- New upstream release
|
||||||
|
|
||||||
* Wed Feb 16 2011 Lennart Poettering <lpoetter@redhat.com> - 18-1
|
* Wed Feb 16 2011 Lennart Poettering <lpoetter@redhat.com> - 18-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user