summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTroy Dawson <tdawson@redhat.com>2014-01-06 10:08:27 -0600
committerTroy Dawson <tdawson@redhat.com>2014-01-06 10:08:27 -0600
commit69cac0442416e760aceb30e70ccbf07953236550 (patch)
tree4fa11934f18f87232d2ad8ec176205943999c063
parent536ae32bf907ad213864f74cf8b01848b405b9f7 (diff)
downloadrubygem-rugged-69cac0442416e760aceb30e70ccbf07953236550.zip
rubygem-rugged-69cac0442416e760aceb30e70ccbf07953236550.tar.gz
rubygem-rugged-69cac0442416e760aceb30e70ccbf07953236550.tar.xz
Misc spec file fixes (#1048958)
-rw-r--r--rubygem-rugged.spec13
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