diff options
-rw-r--r-- | rubygem-rugged.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/rubygem-rugged.spec b/rubygem-rugged.spec index 0d2ef14..1bfd1da 100644 --- a/rubygem-rugged.spec +++ b/rubygem-rugged.spec @@ -3,7 +3,7 @@ Summary: Rugged is a Ruby binding to the libgit2 library Name: rubygem-%{gem_name} Version: 0.19.0 -Release: 4%{?dist} +Release: 5%{?dist} Group: Development/Languages License: MIT URL: http://github.com/libgit2/rugged @@ -13,7 +13,7 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem # https://github.com/libgit2/rugged/issues/262 # https://github.com/libgit2/rugged/pull/263 # This is how we are getting the tests (Source1) -# git clone git@github.com:libgit2/rugged.git +# git clone git://github.com/libgit2/rugged.git # cd rugged/ # git checkout v0.19.0 # tar cfz rugged-0.19.0-test.tgz test/ Rakefile @@ -32,7 +32,7 @@ BuildRequires: git BuildRequires: libgit2-devel BuildRequires: ruby-devel BuildRequires: rubygem(minitest) -BuildRequires: rubygems-devel +BuildRequires: rubygems-devel BuildRequires: zlib-devel Provides: rubygem(%{gem_name}) = %{version} %{?rubygems_default_filter} @@ -61,7 +61,11 @@ rm -rf vendor %patch1 -p1 %build +# Setting for rugged v0.19.0: export LIBGIT2_PATH="/usr/" +# Note that in upstream's git development branch (so, post 0.19.0), we have to +# specify the path to libgit2 differently: +# export CONFIGURE_ARGS="--with-cflags='%{optflags}' --with-git2-dir='/usr'" gem build %{gem_name}.gemspec %gem_install @@ -105,6 +109,9 @@ popd %{gem_instdir}/test %changelog +* Mon Jan 06 2014 Troy Dawson <tdawson@redhat.com> - 0.19.0-5 +- Misc spec file fixes (#1048958) Ken Dreyer + * Mon Sep 09 2013 Troy Dawson <tdawson@redhat.com> - 0.19.0-4 - Update comments about test source - Fix zero length files in test |