mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Do not register conffiles in /etc when generating a deb; debhelper v3
takes care of that.
This commit is contained in:
@@ -368,8 +368,8 @@ sub prep {
|
||||
print OUT $this->binary_info."\n";
|
||||
close OUT;
|
||||
|
||||
# Conffiles, if any.
|
||||
my @conffiles=@{$this->conffiles};
|
||||
# Conffiles, if any. Note that debhelper takes care of files in /etc.
|
||||
my @conffiles=grep { $_ !~ /^\/etc/ } @{$this->conffiles};
|
||||
if (@conffiles) {
|
||||
open (OUT, ">$dir/debian/conffiles") || die "$dir/debian/conffiles: $!";
|
||||
print OUT join("\n", @conffiles)."\n";
|
||||
|
||||
@@ -31,4 +31,4 @@ find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" | \
|
||||
|
||||
%files -f manifest
|
||||
%defattr(-,root,root)
|
||||
%doc debian/changelog COPYING README alien.lsm
|
||||
%doc debian/changelog GPL README alien.lsm
|
||||
|
||||
Reference in New Issue
Block a user