From 390a606868e0eeaef68e52c50f1bee95d5e4faeb Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Tue, 5 Sep 2023 11:16:35 +0200 Subject: [PATCH] Fix duplicate vendor in RPM --- ldnp/templates/rpm/spec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ldnp/templates/rpm/spec b/ldnp/templates/rpm/spec index 79284ab..402fddd 100644 --- a/ldnp/templates/rpm/spec +++ b/ldnp/templates/rpm/spec @@ -20,17 +20,9 @@ BugURL: {{ meta_info["bug_url"] }} Vendor: {{ meta_info["vendor"] }} {% endif %} -{% if meta_info.get("vendor") %} -Vendor: {{ meta_info["vendor"] }} -{% endif %} - {# just some advertising... #} Packager: {{ meta_info["packager"] | default("linuxdeploy-plugin-native_packages", true) }} -{% if meta_info.get("vendor") %} -Vendor: {{ meta_info["vendor"] }} -{% endif %} - # note: we must _not_ strip these files again, this breaks them beyond repair # (in theory, they have been stripped by linuxdeploy already anyway) # https://imvoid.wordpress.com/2013/06/05/stripping-and-stopping-stripping-of-binaries-in-rpm-build/