SHA256
1
0
forked from pool/rtasdispd
Dominique Leuenberger 2017-12-02 12:12:15 +00:00 committed by Git OBS Bridge
commit 90322dbade
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:43:40 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 10 19:29:45 UTC 2013 - dvaleev@suse.com Tue Dec 10 19:29:45 UTC 2013 - dvaleev@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package rtasdispd # spec file for package rtasdispd
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,11 @@
# #
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
Name: rtasdispd Name: rtasdispd
Version: 0.1 Version: 0.1
Release: 0 Release: 0
@ -52,10 +57,10 @@ make CFLAGS="$RPM_OPT_FLAGS -Wall"
mv rtasdispd.1 rtasdispd.8 mv rtasdispd.1 rtasdispd.8
make DESTDIR=$RPM_BUILD_ROOT install MANS=rtasdispd.8 make DESTDIR=$RPM_BUILD_ROOT install MANS=rtasdispd.8
mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/etc/init.d
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates mkdir -p $RPM_BUILD_ROOT%{_fillupdir}
install -m 755 %{S:2} $RPM_BUILD_ROOT/etc/init.d/rtasdispd install -m 755 %{S:2} $RPM_BUILD_ROOT/etc/init.d/rtasdispd
ln -s ../../etc/init.d/rtasdispd $RPM_BUILD_ROOT/usr/sbin/rcrtasdispd ln -s ../../etc/init.d/rtasdispd $RPM_BUILD_ROOT/usr/sbin/rcrtasdispd
install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.rtasdispd install -m 644 %{S:1} $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.rtasdispd
%post %post
%{fillup_and_insserv -y rtasdispd} %{fillup_and_insserv -y rtasdispd}
@ -69,6 +74,6 @@ install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.rtasdis
%config /etc/init.d/rtasdispd %config /etc/init.d/rtasdispd
/usr/sbin/* /usr/sbin/*
%{_mandir}/man8/* %{_mandir}/man8/*
/var/adm/fillup-templates/sysconfig.rtasdispd %{_fillupdir}/sysconfig.rtasdispd
%changelog %changelog