gem2rpm 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/gem2rpm.rb +1 -1
- data/templates/fedora-17-18.spec.erb +4 -3
- data/templates/fedora-19-rawhide.spec.erb +3 -3
- metadata +2 -2
data/lib/gem2rpm.rb
CHANGED
|
@@ -84,8 +84,9 @@ cp -pa .%{gem_dir}/* \
|
|
|
84
84
|
%{buildroot}%{gem_dir}/
|
|
85
85
|
|
|
86
86
|
<% unless spec.extensions.empty? -%>
|
|
87
|
-
mkdir -p %{buildroot}%{
|
|
88
|
-
|
|
87
|
+
mkdir -p %{buildroot}%{gem_extdir_mri}/<%= spec.require_paths.first %>
|
|
88
|
+
# TODO: move the extensions
|
|
89
|
+
mv %{buildroot}%{gem_instdir}/<%= spec.require_paths.first %>/shared_object.so %{buildroot}%{gem_extdir_mri}/<%= spec.require_paths.first %>/
|
|
89
90
|
<% end -%>
|
|
90
91
|
|
|
91
92
|
<% unless spec.executables.nil? or spec.executables.empty? -%>
|
|
@@ -109,7 +110,7 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
109
110
|
%{gem_libdir}
|
|
110
111
|
<% unless spec.extensions.empty? -%>
|
|
111
112
|
%exclude %{gem_instdir}/ext
|
|
112
|
-
%{
|
|
113
|
+
%{gem_extdir_mri}
|
|
113
114
|
<% end -%>
|
|
114
115
|
<% unless doc_subpackage -%>
|
|
115
116
|
%doc %{gem_docdir}
|
|
@@ -68,9 +68,9 @@ cp -pa .%{gem_dir}/* \
|
|
|
68
68
|
%{buildroot}%{gem_dir}/
|
|
69
69
|
|
|
70
70
|
<% unless spec.extensions.empty? -%>
|
|
71
|
-
mkdir -p %{buildroot}%{
|
|
71
|
+
mkdir -p %{buildroot}%{gem_extdir_mri}/<%= spec.require_paths.first %>
|
|
72
72
|
# TODO: move the extensions
|
|
73
|
-
mv %{buildroot}%{gem_instdir}/<%= spec.require_paths.first %>/shared_object.so %{buildroot}%{
|
|
73
|
+
mv %{buildroot}%{gem_instdir}/<%= spec.require_paths.first %>/shared_object.so %{buildroot}%{gem_extdir_mri}/<%= spec.require_paths.first %>/
|
|
74
74
|
<% end -%>
|
|
75
75
|
|
|
76
76
|
<% unless spec.executables.nil? or spec.executables.empty? -%>
|
|
@@ -94,7 +94,7 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
94
94
|
%{gem_libdir}
|
|
95
95
|
<% unless spec.extensions.empty? -%>
|
|
96
96
|
%exclude %{gem_instdir}/ext
|
|
97
|
-
%{
|
|
97
|
+
%{gem_extdir_mri}
|
|
98
98
|
<% end -%>
|
|
99
99
|
<% unless doc_subpackage -%>
|
|
100
100
|
%doc %{gem_docdir}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gem2rpm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-02-
|
|
13
|
+
date: 2013-02-27 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: ! " Generate source rpms and rpm spec files from a Ruby Gem. \n The
|
|
16
16
|
spec file tries to follow the gem as closely as possible\n"
|