Project

General

Profile

« Previous | Next » 

Revision 35e40bba

Added by Dominic Cleal over 8 years ago

Fix build errors and modernise specs

Mostly importing latest changes from Fedora and using gem_install macro
to ensure specs build using standard settings under newer Ruby packages.

View differences:

rubygem-git/rubygem-git.spec
A package for using Git in Ruby code.
%prep
%setup -q -c -T
%{?scl:scl enable %{scl} - << \EOF}
%gem_install -n %{SOURCE0}
%{?scl:EOF}
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
%{?scl:scl enable %{scl} - << \EOF}
gem install --local --install-dir %{buildroot}%{gem_dir} \
--force --rdoc %{SOURCE0}
%{?scl:EOF}
%clean
rm -rf %{buildroot}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
%defattr(-, root, root, -)

Also available in: Unified diff