mirror of
https://github.com/webmin/webmin.git
synced 2025-07-29 11:50:54 +00:00
Fix to allow maintainer to be configurable
[build]
This commit is contained in:
@ -477,16 +477,18 @@ foreach my $deb ("deb", "newkey/deb") {
|
|||||||
|
|
||||||
# Create the .dsc file
|
# Create the .dsc file
|
||||||
open(DSC, ">$deb/${product}_$ver$rel.plain");
|
open(DSC, ">$deb/${product}_$ver$rel.plain");
|
||||||
|
# Check if DEB_MAINTAINER is set and use it otherwise use Jamie Cameron <jcameron\@webmin.com>
|
||||||
|
$deb_maintainer = $ENV{'DEB_MAINTAINER'} || "Jamie Cameron <jcameron\@webmin.com>";
|
||||||
print DSC <<EOF;
|
print DSC <<EOF;
|
||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: $product
|
Source: $product
|
||||||
Version: $ver$rel
|
Version: $ver$rel
|
||||||
Binary: $product
|
Binary: $product
|
||||||
Maintainer: Jamie Cameron <jcameron\@webmin.com>
|
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Standards-Version: 3.6.1
|
Standards-Version: 3.6.1
|
||||||
Build-Depends-Indep: debhelper (>= 4.1.16), debconf (>= 0.5.00), perl
|
Build-Depends-Indep: debhelper (>= 4.1.16), debconf (>= 0.5.00), perl
|
||||||
Uploaders: Jamie Cameron <jcameron\@webmin.com>
|
Maintainer: $deb_maintainer
|
||||||
|
Uploaders: $deb_maintainer
|
||||||
Files:
|
Files:
|
||||||
$md5 $st[7] ${product}-${ver}.tar.gz
|
$md5 $st[7] ${product}-${ver}.tar.gz
|
||||||
$diffmd5 $diffst[7] ${product}_${ver}.diff
|
$diffmd5 $diffst[7] ${product}_${ver}.diff
|
||||||
|
@ -76,6 +76,7 @@ else {
|
|||||||
|
|
||||||
system("cp tarballs/$tarfile $source_dir");
|
system("cp tarballs/$tarfile $source_dir");
|
||||||
open(SPEC, ">$spec_dir/webmin-$ver.spec");
|
open(SPEC, ">$spec_dir/webmin-$ver.spec");
|
||||||
|
$rpm_maintainer = $ENV{'RPM_MAINTAINER'} || "Jamie Cameron";
|
||||||
print SPEC <<EOF;
|
print SPEC <<EOF;
|
||||||
%global __perl_provides %{nil}
|
%global __perl_provides %{nil}
|
||||||
%define __spec_install_post %{nil}
|
%define __spec_install_post %{nil}
|
||||||
@ -92,7 +93,7 @@ AutoReq: 0
|
|||||||
License: BSD-3-clause
|
License: BSD-3-clause
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Source: http://www.webmin.com/download/$tarfile
|
Source: http://www.webmin.com/download/$tarfile
|
||||||
Vendor: Jamie Cameron
|
Vendor: $rpm_maintainer
|
||||||
BuildRoot: /tmp/%{name}-%{version}
|
BuildRoot: /tmp/%{name}-%{version}
|
||||||
BuildArchitectures: noarch
|
BuildArchitectures: noarch
|
||||||
%description
|
%description
|
||||||
|
Reference in New Issue
Block a user