rpms/rsync/devel rsync.spec,1.60,1.61

Simo Sorce simo at fedoraproject.org
Thu Jan 1 19:21:01 UTC 2009


Author: simo

Update of /cvs/pkgs/rpms/rsync/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4412

Modified Files:
	rsync.spec 
Log Message:
Merge review fixes (bz#226380)



Index: rsync.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rsync/devel/rsync.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- rsync.spec	8 Sep 2008 14:01:31 -0000	1.60
+++ rsync.spec	1 Jan 2009 19:20:31 -0000	1.61
@@ -1,17 +1,17 @@
-Summary: A program for synchronizing files over a network.
+Summary: A program for synchronizing files over a network
 Name: rsync
 Version: 3.0.4
 Release: 0%{?dist}
 Group: Applications/Internet
+URL: http://rsync.samba.org/
 # TAG: for pre versions use
-#Source0:	ftp://rsync.samba.org/pub/rsync/rsync-%{version}pre3.tar.gz
-Source0:	ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz
-#Source1:	ftp://rsync.samba.org/pub/rsync/rsync-patches-%{version}pre3.tar.gz
-Source1:	ftp://rsync.samba.org/pub/rsync/rsync-patches-%{version}.tar.gz
+#Source0: ftp://rsync.samba.org/pub/rsync/rsync-%{version}pre3.tar.gz
+Source0: ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz
+#Source1: ftp://rsync.samba.org/pub/rsync/rsync-patches-%{version}pre3.tar.gz
+Source1: ftp://rsync.samba.org/pub/rsync/rsync-patches-%{version}.tar.gz
 Source2: rsync.xinetd
-BuildRequires: libacl-devel, libattr-devel, autoconf, make, gcc, popt-devel
-Prefix: %{_prefix}
-BuildRoot: /var/tmp/%{name}-root
+BuildRequires: libacl-devel, libattr-devel, autoconf, popt-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License: GPLv3+
 
 %description
@@ -47,9 +47,9 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%makeinstall
-mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
-install -m 644 %SOURCE2 $RPM_BUILD_ROOT/etc/xinetd.d/rsync
+%makeinstall INSTALLCMD='install -p' INSTALLMAN='install -p'
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
+install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,9 +57,9 @@
 %files
 %defattr(-,root,root)
 %doc COPYING NEWS OLDNEWS README support/ tech_report.tex
-%config(noreplace) /etc/xinetd.d/rsync
-%{_prefix}/bin/rsync
-%{_mandir}/man1/rsync.1*
+%config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
 %{_mandir}/man5/rsyncd.conf.5*
 
 %changelog
@@ -407,7 +407,7 @@
   showing no packager nor signature but giving 
   "Source RPM: rsync-1.6.3-1.src.rpm".
 - Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
-  to '%build', removed '%prefix'.
+  to '%%build', removed '%%prefix'.
 
 * Thu Apr 10 1997 Michael De La Rue <miked at ed.ac.uk>
 - rsync-1.6.2-1 packaged.  (This entry by jam to credit Michael for the




More information about the scm-commits mailing list