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 <jistone@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-02-10 23:06:17 +01:00
parent ebe839e50b
commit 593a5aaf4d

View file

@ -16,6 +16,7 @@ CACHEDIR = os.path.join(XDG_CACHE_HOME, "rust2rpm")
API_URL = "https://crates.io/api/v1/" API_URL = "https://crates.io/api/v1/"
TEMPLATE = """# Generated by rust2rpm TEMPLATE = """# Generated by rust2rpm
%bcond_without check %bcond_without check
%global debug_package %{nil}
%global crate {{ md.name }} %global crate {{ md.name }}