From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 3D95E9A9F for ; Thu, 2 Apr 2015 21:59:14 +0200 (CEST) Received: by wgdm6 with SMTP id m6so95463575wgd.2 for ; Thu, 02 Apr 2015 12:59:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=LtY5y7BkoWRLsDykWnV26+yWrZ7SsiqIdLS0YB3j8Qo=; b=FDIU049VgDoz5Q4iPg0RrbgnQKKXBvCzIX4Ul9Z/XGcpuNQTpBKh0dL/GBB5TgPLUe ZOmmjidPq7FdMJa8JCHsR7uV/ICh1ipT+JPqN/eshp6IZsSH3EV89dCoyBkP9QOfr+7y Fri5YhTaHWm4RbKw+qN/LTVADoqvz9rzn+DJDaI4HXa0W1aAqCQKRxrWKgpj7pI7iT8a ebcRF1OT6ZzAFjEqjgc+Ulg53VtnZ9X6UZrw07tyc84sYs0uoJYNZwVVgZ5js7ARAwjw 7X48CbLWMexKPAcH91WW0vVhiBVCd3sv7khTQGzAcI9PJMpYTNOYyxKP1ZtJCoGh29gw nAmg== X-Gm-Message-State: ALoCoQn2bFQebQROG3bWl3AHpSEW8R0VV9stQaVTFc603it+DfkXwZTRBynS9DNqeqBDQkYt7GDu X-Received: by 10.194.223.37 with SMTP id qr5mr20147444wjc.11.1428004752941; Thu, 02 Apr 2015 12:59:12 -0700 (PDT) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id dr7sm3932819wib.22.2015.04.02.12.59.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Apr 2015 12:59:12 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Thu, 2 Apr 2015 21:58:20 +0200 Message-Id: <1428004702-8987-4-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1428004702-8987-1-git-send-email-thomas.monjalon@6wind.com> References: <1428004702-8987-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 3/5] pkg: remove -core file suffix X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 19:59:14 -0000 Since -core suffix was removed from the package names in commit 6f2760ecdf4e, the file name should also be updated. The alignment of build commands is also changed to prepare next patch. Signed-off-by: Thomas Monjalon --- pkg/{dpdk-core.spec => dpdk.spec} | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) rename pkg/{dpdk-core.spec => dpdk.spec} (71%) diff --git a/pkg/dpdk-core.spec b/pkg/dpdk.spec similarity index 71% rename from pkg/dpdk-core.spec rename to pkg/dpdk.spec index 76ae701..9a92e95 100644 --- a/pkg/dpdk-core.spec +++ b/pkg/dpdk.spec @@ -88,30 +88,30 @@ make O=%{target} doc %install rm -rf %{buildroot} -make O=%{target} DESTDIR=%{destdir} -mkdir -p %{buildroot}%{moddir} -mv %{destdir}/%{target}/kmod/*.ko %{buildroot}%{moddir} -rmdir %{destdir}/%{target}/kmod -mkdir -p %{buildroot}%{_sbindir} -ln -s %{datadir}/tools/*nic_bind.py %{buildroot}%{_sbindir}/dpdk_nic_bind -mkdir -p %{buildroot}%{_bindir} -mv %{destdir}/%{target}/app/testpmd %{buildroot}%{_bindir} -rmdir %{destdir}/%{target}/app -mv %{destdir}/%{target}/include %{buildroot}%{_includedir} -mv %{destdir}/%{target}/lib %{buildroot}%{_libdir} -mkdir -p %{buildroot}%{docdir} -mv %{destdir}/%{target}/doc/* %{buildroot}%{docdir} -rmdir %{destdir}/%{target}/doc -mkdir -p %{buildroot}%{datadir} -mv %{destdir}/%{target}/.config %{buildroot}%{datadir}/config -mv %{destdir}/%{target} %{buildroot}%{datadir} -mv %{destdir}/scripts %{buildroot}%{datadir} -mv %{destdir}/mk %{buildroot}%{datadir} -cp -a examples %{buildroot}%{datadir} -cp -a tools %{buildroot}%{datadir} -ln -s %{datadir}/config %{buildroot}%{datadir}/%{target}/.config -ln -s %{_includedir} %{buildroot}%{datadir}/%{target}/include -ln -s %{_libdir} %{buildroot}%{datadir}/%{target}/lib +make O=%{target} DESTDIR=%{destdir} +mkdir -p %{buildroot}%{moddir} +mv %{destdir}/%{target}/kmod/*.ko %{buildroot}%{moddir} +rmdir %{destdir}/%{target}/kmod +mkdir -p %{buildroot}%{_sbindir} +ln -s %{datadir}/tools/*nic_bind.py %{buildroot}%{_sbindir}/dpdk_nic_bind +mkdir -p %{buildroot}%{_bindir} +mv %{destdir}/%{target}/app/testpmd %{buildroot}%{_bindir} +rmdir %{destdir}/%{target}/app +mv %{destdir}/%{target}/include %{buildroot}%{_includedir} +mv %{destdir}/%{target}/lib %{buildroot}%{_libdir} +mkdir -p %{buildroot}%{docdir} +mv %{destdir}/%{target}/doc/* %{buildroot}%{docdir} +rmdir %{destdir}/%{target}/doc +mkdir -p %{buildroot}%{datadir} +mv %{destdir}/%{target}/.config %{buildroot}%{datadir}/config +mv %{destdir}/%{target} %{buildroot}%{datadir} +mv %{destdir}/scripts %{buildroot}%{datadir} +mv %{destdir}/mk %{buildroot}%{datadir} +cp -a examples %{buildroot}%{datadir} +cp -a tools %{buildroot}%{datadir} +ln -s %{datadir}/config %{buildroot}%{datadir}/%{target}/.config +ln -s %{_includedir} %{buildroot}%{datadir}/%{target}/include +ln -s %{_libdir} %{buildroot}%{datadir}/%{target}/lib %files %dir %{datadir} -- 2.2.2