Skip to content

Commit

Permalink
Update the Rakefile to get rid of deprecated targets
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette committed Jun 14, 2012
1 parent 9b89b26 commit 17e6700
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -10,9 +10,9 @@

# Rakefile for ruby-rpm -*- ruby -*-
require 'rake/clean'
require 'rake/rdoctask'
require 'rdoc/task'
require 'rake/testtask'
require 'rake/gempackagetask'
require 'rubygems/package_task'
require 'rbconfig'

PKG_NAME='ruby-libvirt'
Expand Down Expand Up @@ -141,7 +141,7 @@ SPEC = Gem::Specification.new do |s|
s.description = "Ruby bindings for libvirt."
end

Rake::GemPackageTask.new(SPEC) do |pkg|
Gem::PackageTask.new(SPEC) do |pkg|
pkg.need_tar = true
pkg.need_zip = true
end
Expand Down
1 change: 1 addition & 0 deletions ruby-libvirt.spec
Expand Up @@ -14,6 +14,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: ruby ruby-devel rubygem(rake)
BuildRequires: libvirt-devel >= 0.4.0
BuildRequires: rubygem-rdoc
Requires: ruby(abi) = 1.8
Provides: ruby(libvirt) = %{version}

Expand Down

0 comments on commit 17e6700

Please sign in to comment.