Frederic Crozat 2011-08-01 14:36:43 +00:00 committed by Git OBS Bridge
parent 9b5356f74e
commit 2974a4aa1d
3 changed files with 34 additions and 10 deletions

View File

@ -1,8 +1,8 @@
addFilter(".*dangling-symlink /sbin/(halt|init|poweroff|telinit|shutdown|runlevel|reboot).*") addFilter(".*dangling-symlink /sbin/(halt|init|poweroff|telinit|shutdown|runlevel|reboot).*")
addFilter(".*dangling-symlink .* /dev/null.*") addFilter(".*dangling-symlink .* /dev/null.*")
addFilter(".*devel-file-in-non-devel-package.*systemd.pc.*")
addFilter(".*files-duplicate .*/reboot.8.*") addFilter(".*files-duplicate .*/reboot.8.*")
addFilter(".*files-duplicate .*/sd_is_socket.3.*") addFilter(".*files-duplicate .*/sd_is_socket.3.*")
addFilter("non-conffile-in-etc /etc/bash_completion.d/systemctl-bash-completion.sh")
addFilter(".*dbus-policy-allow-receive") addFilter(".*dbus-policy-allow-receive")
# Do not enable for submission into openSUSE:Factory, # Do not enable for submission into openSUSE:Factory,
# just for testing while polkit-default-privs is not checked in # just for testing while polkit-default-privs is not checked in

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 1 09:04:53 UTC 2011 - aj@suse.de
- Split up devel package.
- restart logind after upgrade.
- Adjust rpmlintrc for changes.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 29 10:48:20 UTC 2011 - aj@suse.de Fri Jul 29 10:48:20 UTC 2011 - aj@suse.de

View File

@ -63,6 +63,16 @@ maintains mount and automount points and implements an elaborate
transactional dependency-based service control logic. It can work as a transactional dependency-based service control logic. It can work as a
drop-in replacement for sysvinit. drop-in replacement for sysvinit.
%package devel
License: GPLv2+
Group: Development/Libraries/C and C++
Summary: Development headers for systemd
Requires: %{name} = %{version}
Requires: pkg-config
%description devel
Development headers and auxiliary files for developing applications for systemd.
%package gtk %package gtk
License: GPLv2+ License: GPLv2+
Group: System/Base Group: System/Base
@ -177,7 +187,11 @@ if [ "$1" -eq 1 ]; then
remote-fs.target >/dev/null 2>&1 || : remote-fs.target >/dev/null 2>&1 || :
fi fi
%postun -p /sbin/ldconfig %postun
/sbin/ldconfig
if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
fi
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
@ -278,14 +292,6 @@ rm -rf %{buildroot}
%dir %{_sysconfdir}/systemd %dir %{_sysconfdir}/systemd
%dir %{_sysconfdir}/bash_completion.d %dir %{_sysconfdir}/bash_completion.d
/etc/bash_completion.d/systemctl-bash-completion.sh /etc/bash_completion.d/systemctl-bash-completion.sh
# The following files might go into a devel package
%{_includedir}/systemd/
%{_datadir}/pkgconfig/systemd.pc
%{_libdir}/pkgconfig/libsystemd-daemon.pc
%{_libdir}/pkgconfig/libsystemd-login.pc
%{_libdir}/libsystemd-daemon.so
%{_libdir}/libsystemd-login.so
%files gtk %files gtk
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -293,6 +299,17 @@ rm -rf %{buildroot}
%{_bindir}/systemd-gnome-ask-password-agent %{_bindir}/systemd-gnome-ask-password-agent
%{_mandir}/man1/systemadm.1* %{_mandir}/man1/systemadm.1*
%files devel
%defattr(-,root,root,-)
%{_libdir}/libsystemd-daemon.so
%{_libdir}/libsystemd-login.so
%dir %{_includedir}/systemd
%{_includedir}/systemd/sd-login.h
%{_includedir}/systemd/sd-daemon.h
%{_datadir}/pkgconfig/systemd.pc
%{_libdir}/pkgconfig/libsystemd-daemon.pc
%{_libdir}/pkgconfig/libsystemd-login.pc
%if %{build_plymouth} %if %{build_plymouth}
%files plymouth %files plymouth