summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
19173d2)
source files so that they use the unchanging src or src-preview
subdirectory location for the file.
Version: 3.0.1
%define fullversion %{version}pre3
Release: 0.1.pre3
Version: 3.0.1
%define fullversion %{version}pre3
Release: 0.1.pre3
+%define srcdir src-previews
Group: Applications/Internet
Group: Applications/Internet
-Source0: http://rsync.samba.org/ftp/rsync/rsync-%{fullversion}.tar.gz
-Source1: http://rsync.samba.org/ftp/rsync/rsync-patches-%{fullversion}.tar.gz
+Source0: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-%{fullversion}.tar.gz
+Source1: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-patches-%{fullversion}.tar.gz
URL: http://rsync.samba.org/
Prefix: %{_prefix}
URL: http://rsync.samba.org/
Prefix: %{_prefix}
(my $finalversion = $version) =~ s/pre\d+//;
my %specvars = ( 'Version:' => $finalversion, 'Release:' => $release,
(my $finalversion = $version) =~ s/pre\d+//;
my %specvars = ( 'Version:' => $finalversion, 'Release:' => $release,
- '%define fullversion' => "\%{version}$pre", 'Released' => "$version." );
+ '%define fullversion' => "\%{version}$pre", 'Released' => "$version.",
+ '%define srcdir' => $srcdir );
my @tweak_files = ( glob('packaging/*.spec'), glob('packaging/*/*.spec'), glob('*.yo'),
qw( configure.in rsync.h NEWS OLDNEWS options.c ) );
my @tweak_files = ( glob('packaging/*.spec'), glob('packaging/*/*.spec'), glob('*.yo'),
qw( configure.in rsync.h NEWS OLDNEWS options.c ) );