From 2da7fd61e62a190c27efbc8365c00b62ad4826dbe968b37aaa1565b2d6395ffc Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 7 Sep 2014 09:57:31 +0000 Subject: [PATCH] Accepting request 247802 from home:MargueriteSu:branches:devel:languages:ruby update version 5.9.5 OBS-URL: https://build.opensuse.org/request/show/247802 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=5 --- onig-5.9.2.tar.bz2 | 3 --- onig-5.9.5.tar.gz | 3 +++ oniguruma-rpmlintrc | 4 --- oniguruma.changes | 11 ++++++++ oniguruma.spec | 64 +++++++++++++-------------------------------- 5 files changed, 32 insertions(+), 53 deletions(-) delete mode 100644 onig-5.9.2.tar.bz2 create mode 100644 onig-5.9.5.tar.gz delete mode 100644 oniguruma-rpmlintrc diff --git a/onig-5.9.2.tar.bz2 b/onig-5.9.2.tar.bz2 deleted file mode 100644 index 78dd912..0000000 --- a/onig-5.9.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:275a0e9cdf6379ba314c79ad6100837b27c908c7f4310ea343796effedcf798d -size 430732 diff --git a/onig-5.9.5.tar.gz b/onig-5.9.5.tar.gz new file mode 100644 index 0000000..1b068ef --- /dev/null +++ b/onig-5.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f49ae7819a5f47e25449d0e4b010d479f7868a24a7b9884b47041b49a76438a +size 587874 diff --git a/oniguruma-rpmlintrc b/oniguruma-rpmlintrc deleted file mode 100644 index 2ab0579..0000000 --- a/oniguruma-rpmlintrc +++ /dev/null @@ -1,4 +0,0 @@ -# library is named libonig2 according to policy and source package is named -# onigurama for historical reasons -addFilter("no-dependency-on.*oniguruma") - diff --git a/oniguruma.changes b/oniguruma.changes index 361da9a..eabe3b8 100644 --- a/oniguruma.changes +++ b/oniguruma.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Sep 6 08:32:47 UTC 2014 - i@marguerite.su + +- update version 5.9.5 + * [impl] escape warnings for -Wall. + * [impl] remove unused variable. +- changes in 5.9.4 + * [dist] add oniguruma.pc.in file +- changes in 5.9.3 + * fix print_tree ENCLOSE_OPTION bug + ------------------------------------------------------------------- Sat Aug 14 22:12:55 UTC 2010 - gber@opensuse.org diff --git a/oniguruma.spec b/oniguruma.spec index 2d36130..9610e96 100644 --- a/oniguruma.spec +++ b/oniguruma.spec @@ -1,7 +1,7 @@ # # spec file for package oniguruma # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: oniguruma -Version: 5.9.2 -Release: 1 +Version: 5.9.5 +Release: 0 +Summary: Regex Library Supporting Different Character Encodings License: BSD-2-Clause Group: Development/Languages/C and C++ -Summary: Regex Library Supporting Different Character Encodings Url: http://www.geocities.jp/kosako3/oniguruma/ -Source: onig-%{version}.tar.bz2 -Source10: %{name}-rpmlintrc -AutoReqProv: on +Source: http://www.geocities.jp/kosako3/oniguruma/archive/onig-%{version}.tar.gz +BuildRequires: pkg-config BuildRequires: ruby-devel >= 1.8 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,17 +40,9 @@ ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16. - - -Authors: --------- - K. Kosako - %package -n libonig2 - - -Group: Development/Languages/C and C++ Summary: Regex Library Supporting Different Character Encodings +Group: System/Libraries %description -n libonig2 Oniguruma is a regular expressions library. The characteristics of @@ -67,18 +56,10 @@ ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16. - - -Authors: --------- - K. Kosako - %package devel - - -Group: Development/Languages/C and C++ Summary: Regex Library Supporting Different Character Encodings - Development Files -Requires: libonig2 = %version +Group: Development/Languages/C and C++ +Requires: libonig2 = %{version} Obsoletes: oniguruma <= 2.5.7 %description devel @@ -96,28 +77,19 @@ ISO-8859-16. This package contains all necessary include files and libraries needed to develop applications that require it. - - -Authors: --------- - K. Kosako - - %prep %setup -q -n onig-%{version} -%{__cp} -rp sample/ examples +cp -rp sample/ examples %build -export CFLAGS="%optflags -g" +export CFLAGS="%{optflags} -g" %configure -%{__make} +make %{?_smp_mflags} %install -%makeinstall -%{__rm} -f %{buildroot}%{_libdir}/libonig.la - -%clean -%{__rm} -rf %{buildroot} +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot}%{_libdir} -type f -name "*.a" -delete -print +find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print %post -n libonig2 -p /sbin/ldconfig @@ -131,11 +103,11 @@ export CFLAGS="%optflags -g" %defattr(-,root,root,-) %doc AUTHORS COPYING HISTORY index.html index_ja.html README README.ja %doc doc/* examples/ -%{_libdir}/libonig.so -%{_libdir}/libonig.a +%{_bindir}/onig-config %{_includedir}/oniguruma.h %{_includedir}/oniggnu.h %{_includedir}/onigposix.h -%{_bindir}/onig-config +%{_libdir}/libonig.so +%{_libdir}/pkgconfig/oniguruma.pc %changelog