Navigation Menu

Skip to content

Commit

Permalink
use %{version} instead of @Version@.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 8, 2010
1 parent 6a71175 commit 29dda8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions rpm/centos/mysql-groonga.spec.in
Expand Up @@ -10,7 +10,7 @@ Summary: A MySQL storage engine powered by groonga.
Group: Applications/Databases
License: LGPLv2.1
URL: http://mroonga.github.com/
Source0: http://github.com/downloads/mroonga/mroonga/groonga-storage-engine-@VERSION@.tar.gz
Source0: http://github.com/downloads/mroonga/mroonga/groonga-storage-engine-%{version}.tar.gz

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires: groonga-devel
Expand All @@ -23,7 +23,7 @@ Requires: MySQL-client-community = %{mysql_version}-%{mysql_release}
Groonga storage engine is a MySQL storage plugin.

%prep
%setup -q -n groonga-storage-engine-@VERSION@
%setup -q -n groonga-storage-engine-%{version}
mysql_full_version=%{mysql_version}-%{mysql_release}.%{mysql_dist}
srpm=MySQL-community-${mysql_full_version}.src.rpm
if [ ! -f ../../SRPMS/$srpm ]; then
Expand Down Expand Up @@ -85,6 +85,7 @@ eval $command || \
%changelog
* Fri Oct 08 2010 Kouhei Sutou <kou@clear-code.com> - 0.2-2
- specify target MySQL version.
- use %{version}.

* Wed Sep 29 2010 Kouhei Sutou <kou@clear-code.com> - 0.2-1
- new upstream release.
Expand Down
9 changes: 6 additions & 3 deletions rpm/fedora/mysql-groonga.spec.in
Expand Up @@ -3,13 +3,13 @@

Name: mysql-groonga
Version: @VERSION@
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A MySQL storage engine powered by groonga.

Group: Applications/Databases
License: LGPLv2.1
URL: http://mroonga.github.com/
Source0: http://github.com/downloads/mroonga/mroonga/groonga-storage-engine-@VERSION@.tar.gz
Source0: http://github.com/downloads/mroonga/mroonga/groonga-storage-engine-%{version}.tar.gz

BuildRequires: groonga-devel
BuildRequires: mysql-devel
Expand All @@ -21,7 +21,7 @@ Requires: mysql-client
Groonga storage engine is a MySQL storage plugin.

%prep
%setup -q -n groonga-storage-engine-@VERSION@
%setup -q -n groonga-storage-engine-%{version}
srpm=mysql-%{mysql_version}-%{mysql_release}.src.rpm
if [ ! -f ../../SRPMS/$srpm ]; then
curl --output ../../SRPMS/$srpm \
Expand Down Expand Up @@ -66,6 +66,9 @@ eval $command || \
%{_libdir}/mysql/plugin/

%changelog
* Fri Oct 08 2010 Kouhei Sutou <kou@clear-code.com> - 0.2-2
- use %{version}.

* Wed Sep 29 2010 Kouhei Sutou <kou@clear-code.com> - 0.2-1
- new upstream release.

Expand Down

0 comments on commit 29dda8d

Please sign in to comment.