From patchwork Thu Dec 15 13:35:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Zhou X-Patchwork-Id: 706264 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tfmsv3gSpz9t0q for ; Fri, 16 Dec 2016 08:34:11 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id E8E22BC6; Thu, 15 Dec 2016 21:33:17 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id CFFA4B78 for ; Thu, 15 Dec 2016 21:33:15 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 89FF61ED for ; Thu, 15 Dec 2016 21:33:15 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id 3so7347936pgd.0 for ; Thu, 15 Dec 2016 13:33:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6B7v85pPHRJtHC1mDM8w2z0y3qpokobGBz9KxTry7SI=; b=NPd5wY2wHe+f3+All7AVLgpZ2JD646C9pc5sZcsDQ7AZV0DZNQgL3hPT/3nAuCbUrD apWtUoroQvjZNCUtxr1Rz8CDj/jFbys99Ro9XNyh6bglivslcDqqpcHdsn+M5PIaR/fT x93/8A1EqLiIa0KqjnUvZaxNblNCfnZd0bjxgGJCGyo+e+HfTJa5acwMlt6HsPFRJ1P6 uIlfN1nwkzE0qP0Bj4L1/Oij25Fo+By0loeT2MMzqbN/WPBFzNxsxVaK1ZSDT4yAwhTR 6s/cCuIICQYpvFLDJcKipMfSOYB2VRVZoTERA57D+lQPbluIrIHsCUgMuZAIdditGfd7 Nu/g== X-Gm-Message-State: AKaTC01CBIRh3mdF5Btg2nuIT/NtBNYP0nHqd1O9twV62W6//ouE1FBBH7sgoWyaAWjoMQ== X-Received: by 10.84.209.161 with SMTP id y30mr6571562plh.163.1481837595034; Thu, 15 Dec 2016 13:33:15 -0800 (PST) Received: from centos-dev.eng.vmware.com. ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id r21sm6633096pfd.44.2016.12.15.13.33.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Dec 2016 13:33:14 -0800 (PST) From: Andy Zhou To: dev@openvswitch.org Date: Thu, 15 Dec 2016 05:35:10 -0800 Message-Id: <1481808913-21030-3-git-send-email-azhou@ovn.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1481808913-21030-1-git-send-email-azhou@ovn.org> References: <1481808913-21030-1-git-send-email-azhou@ovn.org> X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, DATE_IN_PAST_06_12, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [RFC: fedora ovn packaging 2/5] rpms: Style fixes X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Replace a few tabs with spaces in the file to be more consistent with the rest of the file. Signed-off-by: Andy Zhou --- rhel/openvswitch-fedora.spec.in | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index a9a2379..9517b7a 100644 --- a/rhel/openvswitch-fedora.spec.in +++ b/rhel/openvswitch-fedora.spec.in @@ -183,15 +183,15 @@ Docker network plugins for OVN. %build %configure \ %if %{with libcapng} - --enable-libcapng \ + --enable-libcapng \ %else - --disable-libcapng \ + --disable-libcapng \ %endif %if %{with dpdk} - --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \ + --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \ %endif - --enable-ssl \ - --with-pkidir=%{_sharedstatedir}/openvswitch/pki + --enable-ssl \ + --with-pkidir=%{_sharedstatedir}/openvswitch/pki make %{?_smp_mflags} cd selinux @@ -206,12 +206,13 @@ install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch install -p -D -m 0644 \ rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \ $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch -for service in openvswitch ovsdb-server ovs-vswitchd \ - ovn-controller ovn-controller-vtep ovn-northd; do - install -p -D -m 0644 \ - rhel/usr_lib_systemd_system_${service}.service \ - $RPM_BUILD_ROOT%{_unitdir}/${service}.service -done + for service in openvswitch ovsdb-server ovs-vswitchd \ + ovn-controller ovn-controller-vtep ovn-northd; do + install -p -D -m 0644 \ + rhel/usr_lib_systemd_system_${service}.service \ + $RPM_BUILD_ROOT%{_unitdir}/${service}.service + done + install -m 0755 rhel/etc_init.d_openvswitch \ $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init