[mingw-wpcap: 4/22] - Doesn't work with byacc, needs bison. - Some minor cleanups to the spec file.

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 18:12:21 UTC 2012


commit 4e09b9a9e4764b087a1fa6a54592dea29f71ee6e
Author: Richard W.M. Jones <rjones at fedoraproject.org>
Date:   Fri Jun 12 09:34:14 2009 +0000

    - Doesn't work with byacc, needs bison.
    - Some minor cleanups to the spec file.

 mingw32-wpcap.spec |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/mingw32-wpcap.spec b/mingw32-wpcap.spec
index 24fe87b..19dda64 100644
--- a/mingw32-wpcap.spec
+++ b/mingw32-wpcap.spec
@@ -7,7 +7,7 @@
 
 Name:           mingw32-wpcap
 Version:        %{versionmajor}.%{versionminor}.%{versionsuffix}
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        MinGW user-level packet capture
 
 Group:          Development/Libraries
@@ -19,8 +19,9 @@ Patch0:         wpcap.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  mingw32-gcc doxygen unzip dos2unix
-Requires:       mingw32-filesystem
+BuildRequires:  mingw32-gcc, doxygen, unzip, dos2unix
+BuildRequires:  bison
+Requires:       mingw32-filesystem >= 50
 
 %description
 MinGW Windows pcap library.
@@ -49,7 +50,9 @@ This package contains the Windows pcap library documentation.
 
 %prep
 %setup -q -n winpcap
+
 %patch0 -p0 -b .build
+
 find . -type f -print0 |xargs -0 dos2unix
 pushd wpcap/libpcap/Win32/Include/
 mv ip6_misc.h IP6_misc.h
@@ -57,10 +60,10 @@ popd
 
 %build
 pushd packetNtx/Dll/Project
-make -f GNUmakefile CC=i686-pc-mingw32-gcc %{?_smp_mflags} 
+make -f GNUmakefile CC=i686-pc-mingw32-gcc YACC=bison %{?_smp_mflags} 
 popd
 pushd wpcap/PRJ
-make -f GNUmakefile CC=i686-pc-mingw32-gcc %{?_smp_mflags} 
+make -f GNUmakefile CC=i686-pc-mingw32-gcc YACC=bison %{?_smp_mflags} 
 popd
 pushd dox/prj
 doxygen winpcap_noc.dox
@@ -132,6 +135,10 @@ rm -rf $RPM_BUILD_ROOT
 %{wpcapexamples}
 
 %changelog
+* Fri Jun 12 2009 Richard W.M. Jones <rjones at redhat.com> - 4.1.beta5-4
+- Doesn't work with byacc, needs bison.
+- Some minor cleanups to the spec file.
+
 * Thu Apr 16 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 4.1.beta5-3
 - replace %%define with %%global
 


More information about the scm-commits mailing list