summaryrefslogtreecommitdiffstats
path: root/extras/rpm/Makefile
diff options
context:
space:
mode:
authorMarco Varlese <marco.varlese@suse.de>2018-08-21 11:51:19 +0200
committerDamjan Marion <dmarion@me.com>2018-08-21 14:46:28 +0000
commitaa839cab981c345801798caec373ec8cda86195f (patch)
tree45969947d975086d0d455a662ffeeb7ee0be1165 /extras/rpm/Makefile
parenta74ee1f7aa48507d9d9fc5f7c9ac1dad32fe4acc (diff)
SUSE: rpm-packaging fixes
Change-Id: Ic7ddc34bbb2fe414d41a083efd8caf35a12488ab Signed-off-by: Marco Varlese <marco.varlese@suse.de>
Diffstat (limited to 'extras/rpm/Makefile')
-rw-r--r--extras/rpm/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/extras/rpm/Makefile b/extras/rpm/Makefile
index 4bbeab55e60..423c4207b02 100644
--- a/extras/rpm/Makefile
+++ b/extras/rpm/Makefile
@@ -26,7 +26,14 @@ PC=%
all: RPM
-ifeq ($(filter opensuse,$(OS_ID)),$(OS_ID))
+# SUSE rolling-release (a.k.a. Tumbleweed)
+ifeq ($(filter opensuse-tumbleweed,$(OS_ID)),$(OS_ID))
+SPEC_FILE='vpp-suse.spec'
+# SUSE osleap15
+else ifeq ($(filter opensuse-leap,$(OS_ID)),$(OS_ID))
+SPEC_FILE='vpp-suse.spec'
+# SUSE leap42.x
+else ifeq ($(filter opensuse,$(OS_ID)),$(OS_ID))
SPEC_FILE='vpp-suse.spec'
else
SPEC_FILE='vpp.spec'