- Add python to buildreq

epel9
Terje Rsten 14 years ago
parent 25bce2162e
commit 3dad48f3af

@ -1,12 +1,13 @@
Summary: Google C++ testing framework Summary: Google C++ testing framework
Name: gtest Name: gtest
Version: 1.5.0 Version: 1.5.0
Release: 1%{?dist} Release: 2%{?dist}
License: BSD License: BSD
Group: Development/Tools Group: Development/Tools
URL: http://code.google.com/p/googletest/ URL: http://code.google.com/p/googletest/
Source0: http://googletest.googlecode.com/files/gtest-%{version}.tar.bz2 Source0: http://googletest.googlecode.com/files/gtest-%{version}.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: python
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description %description
Google's framework for writing C++ tests on a variety of platforms Google's framework for writing C++ tests on a variety of platforms
@ -19,7 +20,6 @@ generation.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: automake Requires: automake
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -43,7 +43,9 @@ make %{?_smp_mflags}
%check %check
# Two tests fail here, unclear as to why. # Two tests fail here, unclear as to why.
make check AM_LDFLAGS='-Wl,--add-needed' ||: # Some extra magic, however still fails...
export LD_LIBRARY_PATH=$(pwd)/lib/.libs
make check AM_LDFLAGS='-Wl,--add-needed' LDFLAGS='lib/.libs/libgtest.so' || :
# Restore the clean copy of samples. # Restore the clean copy of samples.
# To be later listed against doc. # To be later listed against doc.
@ -78,6 +80,9 @@ rm -rf %{buildroot}
%{_includedir}/gtest %{_includedir}/gtest
%changelog %changelog
* Sun Jan 16 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.5.0-2
- Add python to buildreq
* Wed Jan 12 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.5.0-1 * Wed Jan 12 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.5.0-1
- 1.5.0 - 1.5.0
- some cleanup - some cleanup

Loading…
Cancel
Save