Accepting request 324518 from home:pluskalm:branches:M17N

- Update project and source url (now on github)
- Change library name, provides obsoletes should not be necessary
  as no released binary should link against it

OBS-URL: https://build.opensuse.org/request/show/324518
OBS-URL: https://build.opensuse.org/package/show/M17N/googletest?expand=0&rev=16
This commit is contained in:
Marguerite Su 2015-08-20 08:52:24 +00:00 committed by Git OBS Bridge
parent 8aa8941793
commit 1b068b3c1e
4 changed files with 17 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 20 07:31:46 UTC 2015 - mpluskal@suse.com
- Update project and source url (now on github)
- Change library name, provides obsoletes should not be necessary
as no released binary should link against it
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 28 13:29:29 UTC 2015 - mpluskal@suse.com Sat Feb 28 13:29:29 UTC 2015 - mpluskal@suse.com

View File

@ -16,22 +16,23 @@
# #
%define libname lib%{name}0 %define libname libgtest0
Name: googletest Name: googletest
Version: 1.7.0 Version: 1.7.0
Release: 0 Release: 0
Summary: Google C++ Testing Framework Summary: Google C++ Testing Framework
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://code.google.com/p/googletest/ Url: https://github.com/google/googletest
Source0: https://googletest.googlecode.com/files/gtest-%{version}.zip Source0: https://github.com/google/googletest/archive/release-%{version}.tar.gz
#PATCH-FIX-UPSTREAM marguerite@opensuse.org Google thinks `make install` #PATCH-FIX-UPSTREAM marguerite@opensuse.org Google thinks `make install`
#is dangerous, but I don't think so. #is dangerous, but I don't think so.
Patch0: googletest-enable-make-install.patch Patch0: googletest-enable-make-install.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libtool BuildRequires: libtool
BuildRequires: python BuildRequires: python
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -66,11 +67,11 @@ The %{name}-devel package contains libraries and header files for
developing applications that use googletest. developing applications that use googletest.
%prep %prep
%setup -q -n gtest-%{version} %setup -q -n %{name}-release-%{version}
%patch0 -p1 %patch0 -p1
autoreconf -fi
%build %build
autoreconf -fiv
%configure \ %configure \
--enable-static=no --enable-static=no
make %{?_smp_mflags} make %{?_smp_mflags}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d
size 1164254

3
release-1.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f73a6546fdf9fce9ff93a5015e0333a8af3062a152a9ad6bcb772c96687016cc
size 468653