diff mbox

[PATCHv2,rdma-core,5/5] cbuild: use SUSE spec file for SUSE targets

Message ID 6173036c-1120-3afa-274d-8b41ce821da2@suse.de (mailing list archive)
State Accepted
Headers show

Commit Message

Nicolas Morey-Chaisemartin Aug. 25, 2017, 10:40 a.m. UTC
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
---
 buildlib/cbuild | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jason Gunthorpe Aug. 25, 2017, 3:16 p.m. UTC | #1
On Fri, Aug 25, 2017 at 12:40:14PM +0200, Nicolas Morey-Chaisemartin wrote:
> Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
>  buildlib/cbuild | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/buildlib/cbuild b/buildlib/cbuild
> index 86a5e42d..4c3ef36b 100755
> +++ b/buildlib/cbuild
> @@ -293,6 +293,7 @@ class ZypperEnvironment(Environment):
>  
>  class leap(ZypperEnvironment):
>      docker_parent = "opensuse:42.2";
> +    specfile = "suse/rdma-core.spec";
>      pkgs = {
>          'cmake',
>          'gcc',
> @@ -313,6 +314,7 @@ class tumbleweed(ZypperEnvironment):
>      docker_parent = "opensuse:tumbleweed";
>      pkgs = leap.pkgs;
>      name = "tumbleweed";
> +    specfile = "suse/rdma-core.spec";
>  
>  # -------------------------------------------------------------------------

Would you add another patch to delete the top level rdma-core.spec
please?

Nothing uses it now.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/buildlib/cbuild b/buildlib/cbuild
index 86a5e42d..4c3ef36b 100755
--- a/buildlib/cbuild
+++ b/buildlib/cbuild
@@ -293,6 +293,7 @@  class ZypperEnvironment(Environment):
 
 class leap(ZypperEnvironment):
     docker_parent = "opensuse:42.2";
+    specfile = "suse/rdma-core.spec";
     pkgs = {
         'cmake',
         'gcc',
@@ -313,6 +314,7 @@  class tumbleweed(ZypperEnvironment):
     docker_parent = "opensuse:tumbleweed";
     pkgs = leap.pkgs;
     name = "tumbleweed";
+    specfile = "suse/rdma-core.spec";
 
 # -------------------------------------------------------------------------