dbus.spec: delete messagebus.service
This commit is contained in:
parent
247e3c2b27
commit
611953afd5
@ -1,14 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) 2008 Red Hat, Inc.
|
||||
#
|
||||
# All rights reserved. This copyrighted material is made available to anyone
|
||||
# wishing to use, modify, copy, or redistribute it subject to the terms and
|
||||
# conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||
## test for an existing bus daemon, just to be safe
|
||||
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
||||
## if not found, launch a new one
|
||||
eval `dbus-launch --sh-syntax --exit-with-session`
|
||||
echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
|
||||
fi
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Name: dbus
|
||||
Epoch: 1
|
||||
Version: 1.12.16
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: System Message Bus
|
||||
License: AFLv2.1 or GPLv2+
|
||||
URL: http://www.freedesktop.org/Software/dbus/
|
||||
@ -70,8 +70,6 @@ install -d $RPM_BUILD_ROOT%{_datadir}/dbus-1/interfaces
|
||||
install -d $RPM_BUILD_ROOT%{_localstatedir}/run/dbus
|
||||
install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/dbus
|
||||
|
||||
ln -s dbus.service $RPM_BUILD_ROOT%{_unitdir}/messagebus.service
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete -print
|
||||
%check
|
||||
make check
|
||||
@ -123,7 +121,6 @@ make check
|
||||
%{_tmpfilesdir}/dbus.conf
|
||||
%{_unitdir}/dbus.service
|
||||
%{_unitdir}/dbus.socket
|
||||
%{_unitdir}/messagebus.service
|
||||
%{_unitdir}/multi-user.target.wants/dbus.service
|
||||
%{_unitdir}/sockets.target.wants/dbus.socket
|
||||
%{_userunitdir}/dbus.service
|
||||
@ -164,6 +161,9 @@ make check
|
||||
%exclude %{_pkgdocdir}/README
|
||||
|
||||
%changelog
|
||||
* Thu Jan 9 2020 hexiaowen <hexiaowen@huawei.com> - 1:1.12.16-5
|
||||
- delete messagebus.service
|
||||
|
||||
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.12.16-4
|
||||
- Add build requires to add runtime requires and add a start-message-bus.sh
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user