From ea33e78c3ced7148612cf5c2885badd4dcf187c1 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 29 Mar 2013 11:07:09 +0400 Subject: Make COMPONENT_VERSION optional --- scripts/debmaker.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/debmaker.pl b/scripts/debmaker.pl index b2e9d72..f312938 100755 --- a/scripts/debmaker.pl +++ b/scripts/debmaker.pl @@ -825,7 +825,7 @@ foreach my $manifest_file (@ARGV) { $control .= "Origin: $$manifest_data{'info.upstream_url'}\n" if exists $$manifest_data{'info.upstream_url'}; $control .= "X-FMRI: $$manifest_data{'pkg.fmri'}\n"; - $control .= "X-Upstream-Version: $DEFINES{'COMPONENT_VERSION'}\n"; + $control .= "X-Upstream-Version: $DEFINES{'COMPONENT_VERSION'}\n" if exists $DEFINES{'COMPONENT_VERSION'}; if (exists $$manifest_data{'info.source_url'} && $$manifest_data{'info.source_url'} !~ /^file:/ -- cgit v1.2.3