[packages/gmock] don't need the macros in preamble

glen glen at pld-linux.org
Sun Nov 22 22:08:26 CET 2015


commit 09d9b8b85792b8f61d5aca7fe7fcc30b6996cb44
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 22 23:08:21 2015 +0200

    don't need the macros in preamble

 gmock.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gmock.spec b/gmock.spec
index dde9d8c..5f6c500 100644
--- a/gmock.spec
+++ b/gmock.spec
@@ -1,9 +1,3 @@
-%ifarch x32
-%define	build_arch %{_target_platform}
-%else
-%define	build_arch %{_host}
-%endif
-
 Summary:	Google C++ Mocking Framework
 Summary(pl.UTF-8):	Szkielet Google Mock dla C++
 Name:		gmock
@@ -26,6 +20,12 @@ BuildRequires:	sed >= 4.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%ifarch x32
+%define	build_arch %{_target_platform}
+%else
+%define	build_arch %{_host}
+%endif
+
 %description
 Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s
 specifics in mind, Google C++ Mocking Framework (or Google Mock for
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gmock.git/commitdiff/09d9b8b85792b8f61d5aca7fe7fcc30b6996cb44



More information about the pld-cvs-commit mailing list