[rdate] Minor spec file fixes

Honza Horak hhorak at fedoraproject.org
Tue Sep 18 11:06:49 UTC 2012


commit 48045174839b1f4ce661513efd465d750e5eb7ec
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Tue Sep 18 12:13:41 2012 +0200

    Minor spec file fixes

 rdate.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/rdate.spec b/rdate.spec
index 8c5a455..86c0ac2 100644
--- a/rdate.spec
+++ b/rdate.spec
@@ -1,16 +1,15 @@
 Summary: Tool for getting the date/time from a remote machine
 Name: rdate
 Version: 1.4
-Release: 20%{?dist}
+Release: 21%{?dist}
 License: GPLv2+
 Group: Applications/System
-Source: ftp://people.redhat.com/sopwith/rdate-%{version}.tar.gz
+Source: ftp://people.redhat.com/sopwith/%{name}-%{version}.tar.gz
 Patch0: rdate-1.4-udp.patch
 Patch1: rdate-1.4-addrinfo.patch
 Patch2: rdate-1.4-spellerr.patch
 Patch3: rdate-1.4-memleak.patch
 URL: ftp://people.redhat.com/sopwith/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 The rdate utility retrieves the date and time from another machine on
@@ -29,21 +28,18 @@ the machine that you queried.
 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DINET6"
 
 %install
-rm -rf ${RPM_BUILD_ROOT}
-
 mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
 make prefix=$RPM_BUILD_ROOT/usr install
 
-%clean
-rm -rf ${RPM_BUILD_ROOT}
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING
 %attr(0755,root,root) %{_bindir}/rdate
 %{_mandir}/man1/rdate.1*
 
 %changelog
+* Tue Sep 18 2012 Honza Horak <hhorak at redhat.com> - 1.4-21
+- Minor spec file fixes
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-20
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list