Changeset 149
- Timestamp:
- 01/05/09 11:43:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r148 r149 867 867 } elsif (/^source0?:\s*(.+)/i) { 868 868 $pkgdata{main}{source} = $1; 869 die "Unknown tarball format $1\n" if $1 !~ /\.tar\.(?:gz|bz2)$/; 869 # .tar, .tar.gz, .tar.bz2, .tgz 870 die "Unknown tarball format $1\n" if $1 !~ /\.(?:tar(?:\.(?:gz|bz2))?|tgz)$/; 870 871 } elsif (/^source([0-9]+):\s*(.+)/i) { 871 872 $pkgdata{sources}{$1} = $2; … … 1594 1595 if ($section =~ /p/) { 1595 1596 $macrostring =~ s/\%\{buildroot\}/$specglobals{buildroot}/gi; 1597 $macrostring =~ s/\%\{source0?}/$topdir\/SOURCES\/$pkgdata{main}{source}/gi; 1596 1598 foreach my $source (keys %{$pkgdata{sources}}) { 1597 1599 $macrostring =~ s/\%\{source$source\}/$topdir\/SOURCES\/$pkgdata{sources}{$source}/gi;
Note:
See TracChangeset
for help on using the changeset viewer.