This commit is contained in:
parent
814ae546be
commit
5f98d4e986
@ -1,10 +1,9 @@
|
||||
%global gem_name ferret
|
||||
%global rubyabi 1.9.1
|
||||
|
||||
Summary: Full-featured text search engine library
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.11.8.4
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Group: Development/Languages
|
||||
# License from
|
||||
# - MIT-LICENSE: MIT
|
||||
@ -20,7 +19,7 @@ Patch0: rubygem-ferret-0.11.8.4-Fix-compatibily-with-minitest.patch
|
||||
# https://github.com/jkraemer/ferret/pull/5
|
||||
Patch1: rubygem-ferret-0.11.8.4-make-rake-just-development-dependency.patch
|
||||
Patch2: rubygem-ferret-0.11.8.4-Block-variables-has-local-scopes.patch
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby-devel
|
||||
@ -44,12 +43,7 @@ This package contains documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -c -T
|
||||
mkdir -p .%{gem_dir}
|
||||
export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
|
||||
gem install --local --install-dir .%{gem_dir} \
|
||||
--bindir .%{_bindir} \
|
||||
-V \
|
||||
--force %{SOURCE0}
|
||||
%gem_install -n %{SOURCE0}
|
||||
|
||||
pushd .%{gem_instdir}
|
||||
%patch0 -p2
|
||||
@ -67,8 +61,8 @@ mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
mkdir -p %{buildroot}%{gem_extdir}/lib
|
||||
mv %{buildroot}%{gem_instdir}/lib/ferret_ext.so %{buildroot}%{gem_extdir}/lib/
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}/lib
|
||||
mv %{buildroot}%{gem_instdir}/lib/ferret_ext.so %{buildroot}%{gem_extdir_mri}/lib/
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_bindir}/* \
|
||||
@ -99,7 +93,7 @@ popd
|
||||
%{gem_instdir}/bin
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_instdir}/ext
|
||||
%{gem_extdir}
|
||||
%{gem_extdir_mri}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
|
||||
@ -116,6 +110,9 @@ popd
|
||||
%{gem_instdir}/test/
|
||||
|
||||
%changelog
|
||||
* Fri Mar 22 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.11.8.4-4
|
||||
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.8.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user