From 1b068b3c1eef2390455f7de646d06ab5e4b63b499deb370ca02aa2db6bec6fcd Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Thu, 20 Aug 2015 08:52:24 +0000 Subject: [PATCH] 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 --- googletest.changes | 7 +++++++ googletest.spec | 13 +++++++------ gtest-1.7.0.zip | 3 --- release-1.7.0.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 gtest-1.7.0.zip create mode 100644 release-1.7.0.tar.gz diff --git a/googletest.changes b/googletest.changes index ccdc32a..02bca57 100644 --- a/googletest.changes +++ b/googletest.changes @@ -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 diff --git a/googletest.spec b/googletest.spec index 2df859c..6f1ca39 100644 --- a/googletest.spec +++ b/googletest.spec @@ -16,22 +16,23 @@ # -%define libname lib%{name}0 +%define libname libgtest0 Name: googletest Version: 1.7.0 Release: 0 Summary: Google C++ Testing Framework License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://code.google.com/p/googletest/ -Source0: https://googletest.googlecode.com/files/gtest-%{version}.zip +Url: https://github.com/google/googletest +Source0: https://github.com/google/googletest/archive/release-%{version}.tar.gz #PATCH-FIX-UPSTREAM marguerite@opensuse.org Google thinks `make install` #is dangerous, but I don't think so. Patch0: googletest-enable-make-install.patch +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: python -BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -66,11 +67,11 @@ The %{name}-devel package contains libraries and header files for developing applications that use googletest. %prep -%setup -q -n gtest-%{version} +%setup -q -n %{name}-release-%{version} %patch0 -p1 -autoreconf -fi %build +autoreconf -fiv %configure \ --enable-static=no make %{?_smp_mflags} diff --git a/gtest-1.7.0.zip b/gtest-1.7.0.zip deleted file mode 100644 index 4c745b6..0000000 --- a/gtest-1.7.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d -size 1164254 diff --git a/release-1.7.0.tar.gz b/release-1.7.0.tar.gz new file mode 100644 index 0000000..a6202d7 --- /dev/null +++ b/release-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f73a6546fdf9fce9ff93a5015e0333a8af3062a152a9ad6bcb772c96687016cc +size 468653