[packages/ruby-omnibus] add pld as rpm output
glen
glen at pld-linux.org
Tue Jun 18 23:47:01 CEST 2013
commit 6b70fceb37f89a1ef039680d6ddfe7fedfeecdea
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jun 19 00:46:46 2013 +0300
add pld as rpm output
omnibus-pld.patch | 11 +++++++++++
ruby-omnibus.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/ruby-omnibus.spec b/ruby-omnibus.spec
index 791c14e..9bfe636 100644
--- a/ruby-omnibus.spec
+++ b/ruby-omnibus.spec
@@ -12,6 +12,7 @@ Group: Development/Languages
Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
# Source0-md5: 4ae9235161a1553a87abca21f6672414
Patch0: makeself-path.patch
+Patch1: omnibus-pld.patch
URL: https://github.com/opscode/omnibus-ruby
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.656
@@ -40,6 +41,7 @@ Omnibus helps you build self-installing, full-stack software builds.
%setup -q -n %{pkgname}-%{version}
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
%patch0 -p1
+%patch1 -p1
# move these to libdir, so they don't clobber system bin dir
chmod a-x bin/makeself*
diff --git a/omnibus-pld.patch b/omnibus-pld.patch
new file mode 100644
index 0000000..10d5b6d
--- /dev/null
+++ b/omnibus-pld.patch
@@ -0,0 +1,11 @@
+--- omnibus-1.0.4/lib/omnibus/project.rb~ 2013-06-18 07:55:54.271908772 +0300
++++ omnibus-1.0.4/lib/omnibus/project.rb 2013-06-18 23:35:30.835312107 +0300
+@@ -374,7 +374,7 @@
+ case platform_family
+ when 'debian'
+ [ "deb" ]
+- when 'fedora', 'rhel'
++ when 'fedora', 'rhel', 'pld'
+ [ "rpm" ]
+ when 'solaris2'
+ [ "solaris" ]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-omnibus.git/commitdiff/6b70fceb37f89a1ef039680d6ddfe7fedfeecdea
More information about the pld-cvs-commit
mailing list