[mingw-wpcap: 20/22] Renamed the source package to mingw-wpcap (#801038)
Kalev Lember
kalev at fedoraproject.org
Wed Mar 7 18:13:42 UTC 2012
commit 8319093dfb062e2ca8e041748f3355f8c7a90d8b
Author: Kalev Lember <kalevlember at gmail.com>
Date: Wed Mar 7 20:07:11 2012 +0200
Renamed the source package to mingw-wpcap (#801038)
mingw32-wpcap.spec => mingw-wpcap.spec | 33 ++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 12 deletions(-)
---
diff --git a/mingw32-wpcap.spec b/mingw-wpcap.spec
similarity index 92%
rename from mingw32-wpcap.spec
rename to mingw-wpcap.spec
index e989f42..2450851 100644
--- a/mingw32-wpcap.spec
+++ b/mingw-wpcap.spec
@@ -5,9 +5,9 @@
%global wpcapexamples %{_docdir}/%{name}/examples
%global wpcapdoc %{_docdir}/%{name}
-Name: mingw32-wpcap
+Name: mingw-wpcap
Version: %{versionmajor}.%{versionminor}.final%{versionsuffix}
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: MinGW user-level packet capture
Group: Development/Libraries
@@ -28,26 +28,32 @@ BuildRequires: unzip
BuildRequires: dos2unix
BuildRequires: bison
BuildRequires: flex
-Requires: mingw32-filesystem >= 50
%description
MinGW Windows pcap library.
-%package examples
+%package -n mingw32-wpcap
+Summary: MinGW user-level packet capture
+Requires: mingw32-filesystem >= 50
+
+%description -n mingw32-wpcap
+MinGW Windows pcap library.
+
+%package -n mingw32-wpcap-examples
Summary: Example source code for MinGW pcap
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: mingw32-wpcap = %{version}
-%description examples
+%description -n mingw32-wpcap-examples
This package contains examples on the usage of the Windows pcap
library.
-%package docs
+%package -n mingw32-wpcap-docs
Summary: MinGW pcap documentation
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: mingw32-wpcap = %{version}
-%description docs
+%description -n mingw32-wpcap-docs
This package contains the Windows pcap library documentation.
%global _use_internal_dependency_generator 0
@@ -135,7 +141,7 @@ rm -rf $RPM_BUILD_ROOT/%{wpcapexamples}/pcap/stats
rm -rf $RPM_BUILD_ROOT
-%files
+%files -n mingw32-wpcap
%defattr(-,root,root,-)
%doc wpcap/libpcap/LICENSE
%{_mingw32_libdir}/pkgconfig/wpcap.pc
@@ -147,16 +153,19 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_libdir}/wpcap.def
%{_mingw32_includedir}/wpcap
-%files docs
+%files -n mingw32-wpcap-docs
%defattr(-,root,root,-)
%{wpcapdoc}/WinPcap_docs.html
%{wpcapdoc}/html
-%files examples
+%files -n mingw32-wpcap-examples
%defattr(-,root,root,-)
%{wpcapexamples}
%changelog
+* Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 4.1.final2-6
+- Renamed the source package to mingw-wpcap (#801038)
+
* Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 4.1.final2-5
- Rebuild against the mingw-w64 toolchain
- Added a patch to fix compatibility with the mingw-w64 toolchain
More information about the scm-commits
mailing list