[mingw-wpcap: 3/22] replace %define with %global

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


commit 5b1dc1b35baea2185d17246a63a1d38fc7fafb7f
Author: sailer <sailer at fedoraproject.org>
Date:   Thu Apr 16 09:13:30 2009 +0000

    replace %define with %global

 mingw32-wpcap.spec |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/mingw32-wpcap.spec b/mingw32-wpcap.spec
index 839a837..24fe87b 100644
--- a/mingw32-wpcap.spec
+++ b/mingw32-wpcap.spec
@@ -1,13 +1,13 @@
-%define versionmajor 4
-%define versionminor 1
-%define versionsuffix beta5
+%global versionmajor 4
+%global versionminor 1
+%global versionsuffix beta5
 
-%define wpcapexamples %{_docdir}/%{name}/examples
-%define wpcapdoc %{_docdir}/%{name}
+%global wpcapexamples %{_docdir}/%{name}/examples
+%global wpcapdoc %{_docdir}/%{name}
 
 Name:           mingw32-wpcap
 Version:        %{versionmajor}.%{versionminor}.%{versionsuffix}
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        MinGW user-level packet capture
 
 Group:          Development/Libraries
@@ -40,12 +40,12 @@ Group:          Development/Libraries
 %description docs
 This package contains the Windows pcap library documentation.
 
-%define _use_internal_dependency_generator 0
-%define __find_requires %{_mingw32_findrequires}
-%define __find_provides %{_mingw32_findprovides}
+%global _use_internal_dependency_generator 0
+%global __find_requires %{_mingw32_findrequires}
+%global __find_provides %{_mingw32_findprovides}
 
-%define __strip %{_mingw32_strip}
-%define __objdump %{_mingw32_objdump}
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
 
 %prep
 %setup -q -n winpcap
@@ -132,6 +132,9 @@ rm -rf $RPM_BUILD_ROOT
 %{wpcapexamples}
 
 %changelog
+* Thu Apr 16 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 4.1.beta5-3
+- replace %%define with %%global
+
 * Wed Mar 25 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 4.1.beta5-2
 - fix BR
 - add license file


More information about the scm-commits mailing list