rpms/mingw32-wpcap/devel mingw32-wpcap.spec,1.2,1.3
Richard W.M. Jones
rjones at fedoraproject.org
Fri Jun 12 09:34:45 UTC 2009
Author: rjones
Update of /cvs/pkgs/rpms/mingw32-wpcap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18352
Modified Files:
mingw32-wpcap.spec
Log Message:
* 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.
Index: mingw32-wpcap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-wpcap/devel/mingw32-wpcap.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- mingw32-wpcap.spec 16 Apr 2009 09:13:30 -0000 1.2
+++ mingw32-wpcap.spec 12 Jun 2009 09:34:14 -0000 1.3
@@ -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 l
%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 fedora-extras-commits
mailing list