Fixed UDSActor for rpm based % python3

This commit is contained in:
Adolfo Gómez García 2020-06-24 01:37:13 +02:00
parent 0fcbf8dc6a
commit 909e706bbd
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ BINDIR := $(DESTDIR)/usr/bin
SBINDIR = $(DESTDIR)/usr/sbin SBINDIR = $(DESTDIR)/usr/sbin
APPSDIR := $(DESTDIR)/usr/share/applications APPSDIR := $(DESTDIR)/usr/share/applications
CFGDIR := $(DESTDIR)/etc/udsactor CFGDIR := $(DESTDIR)/etc/udsactor
SYSTEMDIR := $(DESTDIR)/etc/system.d/system SYSTEMDIR := $(DESTDIR)/etc/systemd/system
POLKITDIR := $(DESTDIR)/usr/share/polkit-1/actions/ POLKITDIR := $(DESTDIR)/usr/share/polkit-1/actions/
XDGAUTOSTARTDIR := $(DESTDIR)/etc/xdg/autostart XDGAUTOSTARTDIR := $(DESTDIR)/etc/xdg/autostart
KDEAUTOSTARTDIR := $(DESTDIR)/usr/share/autostart KDEAUTOSTARTDIR := $(DESTDIR)/usr/share/autostart

View File

@ -34,8 +34,8 @@ make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh clean
cd $curdir cd $curdir
# %post %post
# systemctl enable udsactor.service > /dev/null 2>&1 systemctl enable udsactor.service > /dev/null 2>&1
%preun %preun
systemctl disable udsactor.service > /dev/null 2>&1 systemctl disable udsactor.service > /dev/null 2>&1
@ -57,7 +57,7 @@ This package provides the required components to allow this machine to work on a
%defattr(-,root,root) %defattr(-,root,root)
/etc/udsactor /etc/udsactor
/etc/xdg/autostart/UDSActorTool.desktop /etc/xdg/autostart/UDSActorTool.desktop
/etc/system.d/system/udsactor.service /etc/systemd/system/udsactor.service
/usr/bin/UDSActorTool-startup /usr/bin/UDSActorTool-startup
/usr/bin/udsactor /usr/bin/udsactor
/usr/bin/udsvapp /usr/bin/udsvapp