Navigation Menu

Skip to content

Commit

Permalink
package centos6 mysql57: upload a package with crash fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 19, 2018
1 parent a48c7f1 commit 7a98a86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/rpm/centos/mysql57-community-mroonga.spec.in
Expand Up @@ -24,13 +24,14 @@

Name: mysql57-community-mroonga
Version: @VERSION@
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A fast fulltext searchable storage engine for MySQL

Group: Applications/Databases
License: LGPLv2.1
URL: http://mroonga.org/
Source0: http://packages.groonga.org/source/mroonga/mroonga-%{version}.tar.gz
Patch0: https://github.com/mroonga/mroonga/commit/a48c7f126f5b99d45a09c2202ef6a8c0c4a1d9e2.patch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires: groonga-devel >= %{groonga_required_version}
Expand Down Expand Up @@ -71,6 +72,8 @@ if [ ! -f ../../SRPMS/$srpm ]; then
rpm -Uvh ../../SRPMS/$srpm
fi

%patch0 -p1

%build
mysql_source=../mysql-%{_mysql_version}/mysql-%{_mysql_version}
if [ ! -d ${mysql_source} ]; then
Expand Down Expand Up @@ -217,6 +220,9 @@ fi
%doc mysql-mroonga-doc/*

%changelog
* Thu Apr 19 2018 Kouhei Sutou <kou@clear-code.com> - 8.01-2
- apply a patch to fix crash bug.

* Thu Mar 29 2018 Kentaro Hayashi <hayashi@clear-code.com> - 8.01-1
- new upstream release.

Expand Down
1 change: 1 addition & 0 deletions packages/yum/build-rpm.sh
Expand Up @@ -60,6 +60,7 @@ rpmbuild_options=""
cd

run cp /vagrant/tmp/${PACKAGE}-${VERSION}.* rpmbuild/SOURCES/
(cd rpmbuild/SOURCES/ && run wget https://github.com/mroonga/mroonga/commit/a48c7f126f5b99d45a09c2202ef6a8c0c4a1d9e2.patch)
run cp /vagrant/tmp/${distribution}/*.spec rpmbuild/SPECS/

package_name=$(cd rpmbuild/SPECS; echo *.spec | sed -e 's/\.spec$//g')
Expand Down

0 comments on commit 7a98a86

Please sign in to comment.