Kouhei Sutou
null+****@clear*****
Wed Aug 13 22:37:31 JST 2014
Kouhei Sutou 2014-08-13 22:37:31 +0900 (Wed, 13 Aug 2014) New Revision: be16413f39bcfa89bcb8fa53f986ed91760480d0 https://github.com/mroonga/mroonga/commit/be16413f39bcfa89bcb8fa53f986ed91760480d0 Message: rpm centos mariadb: support epoch Modified files: packages/rpm/centos/mariadb-mroonga.spec.in Modified: packages/rpm/centos/mariadb-mroonga.spec.in (+6 -2) =================================================================== --- packages/rpm/centos/mariadb-mroonga.spec.in 2014-08-13 22:21:40 +0900 (c4d44c3) +++ packages/rpm/centos/mariadb-mroonga.spec.in 2014-08-13 22:37:31 +0900 (e08e3da) @@ -1,15 +1,19 @@ +%define mariadb_epoch_default 1 %define mariadb_version_default 5.5.37 %define mariadb_release_default 1 %define mariadb_dist_default .el7_0 %define mariadb_download_base_url_default http://vault.centos.org/7.0.1406/updates/Source/SPackages %define mariadb_spec_file_default mariadb.spec +%{!?mariadb_epoch:%define mariadb_epoch %{mariadb_epoch_default}} %{!?mariadb_version:%define mariadb_version %{mariadb_version_default}} %{!?mariadb_release:%define mariadb_release %{mariadb_release_default}} %{!?mariadb_dist:%define mariadb_dist %{mariadb_dist_default}} %{!?mariadb_download_base_url:%define mariadb_download_base_url %{mariadb_download_base_url_default}} %{!?mariadb_spec_file:%define mariadb_spec_file %{mariadb_spec_file_default}} +%define mariadb_package_version %{mariadb_epoch}:%{mariadb_version}-%{mariadb_release}%{mariadb_dist} + %define groonga_required_version @REQUIRED_GROONGA_VERSION@ Name: mariadb-mroonga @@ -27,8 +31,8 @@ BuildRequires: groonga-devel >= %{groonga_required_version} BuildRequires: groonga-normalizer-mysql-devel BuildRequires: wget BuildRequires: mariadb-devel -Requires: mariadb-server = %{mariadb_version}-%{mariadb_release}%{mariadb_dist} -Requires: mariadb = %{mariadb_version}-%{mariadb_release}%{mariadb_dist} +Requires: mariadb-server = %{mariadb_package_version} +Requires: mariadb = %{mariadb_package_version} Requires: groonga-libs >= %{groonga_required_version} Requires: groonga-normalizer-mysql -------------- next part -------------- HTML����������������������������... ダウンロード