Remove shebang from non-executable Rakefile.
This commit is contained in:
parent
c3786c516b
commit
9f81d64ef0
22
vagrant-libvirt-Rakefile.patch
Normal file
22
vagrant-libvirt-Rakefile.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 68b6228932cc499433c52bbd3b61a35a5ded0ff1 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Adam <obnox@samba.org>
|
||||
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
|
||||
|
||||
@ -11,6 +11,9 @@ Source0: https://rubygems.org/gems/%{vagrant_plugin_name}-%{version}.gem
|
||||
Source1: 10-vagrant-libvirt.rules
|
||||
# Adjust Vagrant's dependencies.
|
||||
Patch0: vagrant-libvirt-fix-dependencies.patch
|
||||
# Shebang in Rakefile doesn't make sense.
|
||||
# https://github.com/pradels/vagrant-libvirt/pull/295
|
||||
Patch1: vagrant-libvirt-Rakefile.patch
|
||||
Requires(pre): shadow-utils
|
||||
Requires(posttrans): vagrant
|
||||
Requires(preun): vagrant
|
||||
@ -55,6 +58,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 +118,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 <madam@redhat.com> - 0.0.24-1
|
||||
- Update to version 0.0.24.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user