From 593a5aaf4d4d2a6c2e07d5d84e1c6757c745d9a2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 10 Feb 2017 23:06:17 +0100 Subject: [PATCH] disable debuginfo subpackage We definitely don't need it for our packaging, but if we include %build section, then RPM assumes that it should generate debuginfo. Seems like hack, yes. Signed-off-by: Josh Stone Signed-off-by: Igor Gnatenko --- rust2rpm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rust2rpm.py b/rust2rpm.py index 340b089..60f1f75 100644 --- a/rust2rpm.py +++ b/rust2rpm.py @@ -16,6 +16,7 @@ CACHEDIR = os.path.join(XDG_CACHE_HOME, "rust2rpm") API_URL = "https://crates.io/api/v1/" TEMPLATE = """# Generated by rust2rpm %bcond_without check +%global debug_package %{nil} %global crate {{ md.name }}