SHA256
1
0
forked from pool/dhcp

Accepting request 283947 from home:coolo:branches:openSUSE:Factory

- do not check scripts not in the src.rpm

OBS-URL: https://build.opensuse.org/request/show/283947
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=149
This commit is contained in:
Tomáš Chvátal 2015-02-11 11:22:30 +00:00 committed by Git OBS Bridge
parent 18d6a5c7fc
commit 83abf43e55
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 3 18:37:59 UTC 2015 - coolo@suse.com
- do not check scripts not in the src.rpm
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 10 12:52:03 UTC 2014 - mt@suse.de Wed Dec 10 12:52:03 UTC 2014 - mt@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package dhcp # spec file for package dhcp
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 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
@ -354,10 +354,12 @@ make %{?_smp_mflags}
./server/dhcpd -4 -t -cf $RPM_SOURCE_DIR/dhcpd.conf ./server/dhcpd -4 -t -cf $RPM_SOURCE_DIR/dhcpd.conf
./server/dhcpd -6 -t -cf $RPM_SOURCE_DIR/dhcpd6.conf ./server/dhcpd -6 -t -cf $RPM_SOURCE_DIR/dhcpd6.conf
# check syntax in our scripts # check syntax in our scripts
%if !%{with systemd}
bash -n $RPM_SOURCE_DIR/rc.dhcpd bash -n $RPM_SOURCE_DIR/rc.dhcpd
bash -n $RPM_SOURCE_DIR/rc.dhcpd6 bash -n $RPM_SOURCE_DIR/rc.dhcpd6
bash -n $RPM_SOURCE_DIR/rc.dhcrelay bash -n $RPM_SOURCE_DIR/rc.dhcrelay
bash -n $RPM_SOURCE_DIR/rc.dhcrelay6 bash -n $RPM_SOURCE_DIR/rc.dhcrelay6
%endif
bash -n $RPM_SOURCE_DIR/dhcpd.script bash -n $RPM_SOURCE_DIR/dhcpd.script
bash -n $RPM_SOURCE_DIR/dhcrelay.script bash -n $RPM_SOURCE_DIR/dhcrelay.script
bash -n $RPM_SOURCE_DIR/dhclient-script bash -n $RPM_SOURCE_DIR/dhclient-script