runcible 0.0.2 → 0.0.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.
@@ -1,3 +1,3 @@
1
1
  module Runcible
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -0,0 +1 @@
1
+ 0.0.3-1 /
data/runcible.gemspec CHANGED
@@ -4,7 +4,7 @@ require File.expand_path('../lib/runcible/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Eric D Helms"]
6
6
  gem.email = ["ehelms@redhat.com"]
7
- gem.description = "Exposing pulp's juiciest components to the Ruby world."
7
+ gem.description = "ExposingPpulp's juiciest components to the Ruby world."
8
8
  gem.summary = ""
9
9
  gem.homepage = "https://github.com/Katello/runcible"
10
10
 
data/runcible.spec CHANGED
@@ -11,38 +11,56 @@
11
11
  # have received a copy of GPLv2 along with this software; if not, see
12
12
  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
13
13
 
14
+ %global gemname runcible
14
15
 
15
- %global homedir %{_datarootdir}/%{name}
16
+ %global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
17
+ %global geminstdir %{gemdir}/gems/%{gemname}-%{version}
18
+ %global rubyabi 1.8
16
19
 
17
- Name: runcible
18
- Summary: A gem to expose Pulp's juiciest parts.
19
- Group: Applications/System
20
- License: MIT
21
- Version: 0.1.0
22
- Release: 1%{?dist}
23
- Source0: %{name}-%{version}.tar.gz
24
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
25
-
26
- BuildArch: noarch
20
+ Name: rubygem-%{gemname}
21
+ Summary: A gem to expose Pulp's juiciest parts.
22
+ Group: Applications/System
23
+ License: MIT
24
+ Version: 0.0.3
25
+ Release: 1%{?dist}
26
+ Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
27
+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
28
+ Requires: ruby(abi) = %{rubyabi}
29
+ Requires: ruby(rubygems)
30
+ Requires: rubygem(json)
31
+ Requires: rubygem(rest-client) >= 1.6.1
32
+ Requires: rubygem(oauth)
33
+ Requires: ruby
34
+ BuildRequires: ruby(abi) = %{rubyabi}
35
+ BuildRequires: ruby(rubygems)
36
+ BuildRequires: ruby
37
+ BuildArch: noarch
38
+ Provides: rubygem(%{gemname}) = %{version}
27
39
 
28
40
  %description
29
41
  A gem to expose Pulp's juiciest parts.
30
42
 
31
43
  %prep
32
- %setup -q
44
+ %setup -q -c -T
45
+ mkdir -p .%{gemdir}
46
+ gem install --local --install-dir .%{gemdir} \
47
+ --force %{SOURCE0}
33
48
 
34
49
  %build
35
50
 
36
51
  %install
37
- rm -rf $RPM_BUILD_ROOT
38
- install -m0755 -d %{buildroot}%{homedir}
52
+ mkdir -p %{buildroot}%{gemdir}
53
+ cp -a .%{gemdir}/* \
54
+ %{buildroot}%{gemdir}/
39
55
 
40
- %clean
41
- rm -rf $RPM_BUILD_ROOT
42
56
 
43
- %files
44
- %defattr(755, root, root)
45
- %{homedir}
46
- %doc README.md LICENSE
57
+ %files
58
+ %dir %{geminstdir}
59
+ %{geminstdir}/lib
60
+ %exclude %{gemdir}/cache/%{gemname}-%{version}.gem
61
+ %{gemdir}/specifications/%{gemname}-%{version}.gemspec
47
62
 
48
63
  %changelog
64
+ * Fri Sep 14 2012 Eric D. Helms <ehelms@redhat.com> 0.0.3-1
65
+ - new package built with tito
66
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runcible
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric D Helms
@@ -18,7 +18,7 @@ cert_chain: []
18
18
  date: 2012-09-14 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
- description: Exposing pulp's juiciest components to the Ruby world.
21
+ description: ExposingPpulp's juiciest components to the Ruby world.
22
22
  email:
23
23
  - ehelms@redhat.com
24
24
  executables: []
@@ -42,6 +42,7 @@ files:
42
42
  - lib/runcible/resources/user.rb
43
43
  - lib/runcible/version.rb
44
44
  - rel-eng/packages/.readme
45
+ - rel-eng/packages/rubygem-runcible
45
46
  - rel-eng/tito.props
46
47
  - runcible.gemspec
47
48
  - runcible.spec