[packages/ruby-re2] - updated to 1.2.0
qboosh
qboosh at pld-linux.org
Sun Oct 4 19:01:30 CEST 2020
commit 87cdd28d9dde10a0f8af901efe43566298bf0010
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 4 19:04:33 2020 +0200
- updated to 1.2.0
ruby-re2.spec | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/ruby-re2.spec b/ruby-re2.spec
index d3d4824..83b62c4 100644
--- a/ruby-re2.spec
+++ b/ruby-re2.spec
@@ -4,19 +4,20 @@
%define pkgname re2
Summary: Ruby bindings to re2
+Summary(pl.UTF-8): Wiązania języka Ruby do re2
Name: ruby-%{pkgname}
-Version: 0.7.0
-Release: 6
+Version: 1.2.0
+Release: 1
License: BSD
Group: Development/Languages
Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5: bc012bbef488bf365022e9cbbcb1ad3f
-URL: http://mudge.name/re2/
-BuildRequires: libstdc++-devel
+# Source0-md5: 8aaf69fac7a9567540791b5b5f7d35c8
+URL: https://github.com/mudge/re2
+BuildRequires: libstdc++-devel >= 6:4.8
BuildRequires: re2-devel
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.656
-BuildRequires: ruby-devel
+BuildRequires: ruby-devel >= 1:1.8.7
%if %{with tests}
BuildRequires: ruby-minitest < 6
BuildRequires: ruby-minitest >= 5.4
@@ -29,6 +30,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Ruby bindings to re2, an efficient, principled regular expression
library.
+%description -l pl.UTF-8
+Wiązania języka Ruby do re2 - wydajnej, zasadniczej biblioteki
+wyrażeń regularnych.
+
%prep
%setup -q -n %{pkgname}-%{version}
@@ -46,6 +51,7 @@ cd ext/%{pkgname}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_vendorarchdir},%{ruby_specdir}}
+
cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
install -p ext/re2/re2.so $RPM_BUILD_ROOT%{ruby_vendorarchdir}
@@ -55,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%attr(755,root,root) %{ruby_vendorarchdir}/re2.so
%{ruby_vendorlibdir}/re2.rb
%{ruby_vendorlibdir}/re2
-%{ruby_vendorarchdir}/re2.so
%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-re2.git/commitdiff/87cdd28d9dde10a0f8af901efe43566298bf0010
More information about the pld-cvs-commit
mailing list