[packages/re2] up to 20150501, new home in github

glen glen at pld-linux.org
Sun Jun 7 20:28:20 CEST 2015


commit 95478d92986215fd90486d7db14a81e8f92098e3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jun 7 21:15:06 2015 +0300

    up to 20150501, new home in github

 re2.spec      | 16 ++++++++--------
 symbols.patch | 12 ++++++------
 2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/re2.spec b/re2.spec
index b089fbf..d16d325 100644
--- a/re2.spec
+++ b/re2.spec
@@ -3,17 +3,19 @@
 %bcond_without	tests		# build without tests
 %bcond_without	static_libs	# don't build static libraries
 
+%define		subver	2015-05-01
+%define		ver		%(echo %{subver} | tr -d -)
 Summary:	C++ fast alternative to backtracking RE engines
 Name:		re2
-Version:	20130115
-Release:	4
+Version:	%{ver}
+Release:	1
 License:	BSD
 Group:		Libraries
-URL:		http://code.google.com/p/re2/
-Source0:	http://re2.googlecode.com/files/%{name}-%{version}.tgz
-# Source0-md5:	ef66646926e6cb8f11f277b286eac579
+Source0:	https://github.com/google/re2/archive/%{subver}/%{name}-%{version}.tar.gz
+# Source0-md5:	72025cc33750878d0457c9422b396ee7
 Patch0:		test-compile.patch
 Patch1:		symbols.patch
+URL:		https://github.com/google/re2
 BuildRequires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -54,9 +56,7 @@ Static %{name} library.
 Statyczna biblioteka %{name}.
 
 %prep
-%setup -qc
-# want versioned builddir, so shuffle files around
-mv re2 .re2; mv .re2/* .
+%setup -q -n %{name}-%{subver}
 %patch0 -p1
 %patch1 -p1
 
diff --git a/symbols.patch b/symbols.patch
index f1222f0..66f4e52 100644
--- a/symbols.patch
+++ b/symbols.patch
@@ -2,13 +2,13 @@ export for chromium:
 
 re2::FilteredRE2::AllMatches(re2::StringPiece const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> >*) const'
 
---- re2-20130115/libre2.symbols~	2013-03-16 14:28:54.000000000 +0200
-+++ re2-20130115/libre2.symbols	2013-03-16 14:32:44.874122764 +0200
-@@ -10,6 +10,7 @@
- 		_ZlsRSoRKN3re211StringPieceE;
+--- re2-2015-05-01/libre2.symbols~	2015-04-30 17:34:34.000000000 +0300
++++ re2-2015-05-01/libre2.symbols	2015-06-07 21:10:42.198012807 +0300
+@@ -11,6 +11,7 @@
  		# re2::FilteredRE2*
  		_ZN3re211FilteredRE2*;
+ 		_ZNK3re211FilteredRE2*;
 +		_ZNK3re211FilteredRE210AllMatchesERKNS_11StringPieceERKSt6vectorIiSaIiEEPS6_;
+ 		# flags
+ 		_ZN3re2*FLAGS_*;
  	local:
- 		*;
- };
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/re2.git/commitdiff/dd936b8b1b358a4c3cf5fdabea57cf10b7f3462e



More information about the pld-cvs-commit mailing list