Define a "srcdir" in the spec file and use it in the URLs for the
[rsync/rsync.git] / packaging / lsb / rsync.spec
index dd74ac3..6cd25cd 100644 (file)
@@ -3,9 +3,10 @@ Name: rsync
 Version: 3.0.1
 %define fullversion %{version}pre3
 Release: 0.1.pre3
+%define srcdir src-previews
 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}