From d6379d4afa0773713112fa4203201736d15a84b9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 23 Jan 2015 16:40:19 +0100 Subject: Remove shebang from non-executable Rakefile to make rpmlint happy. --- vagrant-libvirt-Rakefile.patch | 22 ++++++++++++++++++++++ vagrant-libvirt.spec | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 vagrant-libvirt-Rakefile.patch diff --git a/vagrant-libvirt-Rakefile.patch b/vagrant-libvirt-Rakefile.patch new file mode 100644 index 0000000..d306046 --- /dev/null +++ b/vagrant-libvirt-Rakefile.patch @@ -0,0 +1,22 @@ +From 68b6228932cc499433c52bbd3b61a35a5ded0ff1 Mon Sep 17 00:00:00 2001 +From: Michael Adam +Date: Fri, 23 Jan 2015 16:37:28 +0100 +Subject: [PATCH] Remove shebang from non-executable rakefile. + +--- + Rakefile | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Rakefile b/Rakefile +index 6575983..741514f 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -1,5 +1,3 @@ +-#!/usr/bin/env rake +- + #require 'rubygems' + #require 'bundler/setup' + require 'bundler/gem_tasks' +-- +2.1.0 + diff --git a/vagrant-libvirt.spec b/vagrant-libvirt.spec index 868823e..7a0d60c 100644 --- a/vagrant-libvirt.spec +++ b/vagrant-libvirt.spec @@ -11,6 +11,7 @@ Source0: https://rubygems.org/gems/%{vagrant_plugin_name}-%{version}.gem Source1: 10-vagrant-libvirt.rules # Use fog with ruby-libvirt 0.5.x Patch0: vagrant-libvirt-fix-dependencies.patch +Patch1: vagrant-libvirt-Rakefile.patch Requires(pre): shadow-utils Requires(posttrans): vagrant Requires(preun): vagrant @@ -54,6 +55,7 @@ gem unpack %{SOURCE0} gem spec %{SOURCE0} -l --ruby > %{vagrant_plugin_name}.gemspec %patch0 -p1 +%patch1 -p1 %build gem build %{vagrant_plugin_name}.gemspec @@ -114,6 +116,7 @@ getent group vagrant >/dev/null || groupadd -r vagrant - Move README.md to main package as doc. - Rename 10-vagrant.rules to 10-vagrant-libvirt.rules. - Move LICENSE to main package as license file. +- Remove shebang from non-executable Rakefile. * Thu Jan 22 2015 Michael Adam - 0.0.24-1 - Update to version 0.0.24. -- cgit