[mingw-qwt: 6/21] replace %define with %global

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 17:12:54 UTC 2012


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

    replace %define with %global

 mingw32-qwt.spec |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)
---
diff --git a/mingw32-qwt.spec b/mingw32-qwt.spec
index 5c196e6..75fd5a7 100644
--- a/mingw32-qwt.spec
+++ b/mingw32-qwt.spec
@@ -1,16 +1,16 @@
 %global name1 qwt
 %global name2 %{name1}5
 
-Name:		mingw32-%{name1}
-Summary:	MinGW Windows Qwt library
-Version:	5.1.1
-Release:	6%{?dist}
-URL:		http://qwt.sourceforge.net
-License:	LGPLv2 with exceptions
+Name:           mingw32-%{name1}
+Summary:        MinGW Windows Qwt library
+Version:        5.1.1
+Release:        7%{?dist}
+URL:            http://qwt.sourceforge.net
+License:        LGPLv2 with exceptions
 Group:          Development/Libraries
-Source:		http://downloads.sourceforge.net/%{name1}/%{name1}-%{version}.tar.bz2
-Patch0:		qwt-path.patch
-BuildRequires:	mingw32-qt
+Source:         http://downloads.sourceforge.net/%{name1}/%{name1}-%{version}.tar.bz2
+Patch0:         qwt-path.patch
+BuildRequires:  mingw32-qt
 BuildRequires:  mingw32-gcc-c++
 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
@@ -19,12 +19,12 @@ BuildArch:      noarch
 MinGW Windows Qwt library.
 
 
-%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 -qn %{name1}-%{version}
@@ -79,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_libdir}/lib%{name1}d5.a
 
 %changelog
+* Thu Apr 16 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 5.1.1-7
+- replace %%define with %%global
+
 * Mon Mar 16 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 5.1.1-6
 - actually fix the source line as required by the reviewer
 - remove commented out designer files in files section


More information about the scm-commits mailing list