[dnstop] Fiy Failed To Build From Source (#660807)

konradm konradm at fedoraproject.org
Fri Mar 25 20:23:03 UTC 2011


commit 26045cfa8d3de8bcf549b799a269318bfebba998
Author: Conrad Meyer <cemeyer at cs.washington.edu>
Date:   Fri Mar 25 13:22:54 2011 -0700

    Fiy Failed To Build From Source (#660807)

 dnstop-20090128_make-DATE.patch |    9 +++++++++
 dnstop.spec                     |    8 ++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/dnstop-20090128_make-DATE.patch b/dnstop-20090128_make-DATE.patch
new file mode 100644
index 0000000..8801e92
--- /dev/null
+++ b/dnstop-20090128_make-DATE.patch
@@ -0,0 +1,9 @@
+--- dnstop-20090128/Makefile.in.DATE	2011-03-25 19:41:26.286592071 +0000
++++ dnstop-20090128/Makefile.in.DATE	2011-03-25 19:42:02.280913304 +0000
+@@ -1,5 +1,5 @@ 
+ PROG=dnstop
+-DATE != date +%Y%m%d
++DATE=$((date +%Y%m%d))
+ 
+ CC=@CC@
+ CFLAGS=@CFLAGS@
diff --git a/dnstop.spec b/dnstop.spec
index 677ac83..a41e8c7 100644
--- a/dnstop.spec
+++ b/dnstop.spec
@@ -1,11 +1,12 @@
 Name:           dnstop
 Version:        20090128
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Displays information about DNS traffic on your network
 Group:          Applications/System
 License:        BSD
 URL:            http://dns.measurement-factory.com/tools/dnstop/
 Source0:        http://dns.measurement-factory.com/tools/dnstop/src/dnstop-%{version}.tar.gz
+Patch0:         dnstop-20090128_make-DATE.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libpcap-devel
 BuildRequires:  ncurses-devel
@@ -26,7 +27,7 @@ tcpdump savefile.
 
 %prep
 %setup -q
-
+%patch0 -p1 -b .DATE
 
 %build
 %configure
@@ -59,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Mar 25 2011 Niels de Vos <devos at fedoraproject.org> - 20090128-3
+- Fiy Failed To Build From Source (#660807)
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20090128-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list