facter 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of facter might be problematic. Click here for more details.
- data/CHANGELOG +5 -0
- data/Rakefile +3 -2
- data/conf/redhat/facter.spec +11 -17
- data/lib/facter.rb +1 -1
- data/lib/facter/virtual.rb +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -21,6 +21,7 @@ spec = Gem::Specification.new do |spec|
|
|
21
21
|
spec.platform = Gem::Platform::RUBY
|
22
22
|
spec.name = 'facter'
|
23
23
|
spec.files = FILES.to_a
|
24
|
+
spec.executables = %w{facter}
|
24
25
|
spec.version = Facter::FACTERVERSION
|
25
26
|
spec.summary = 'Facter, a system inventory tool'
|
26
27
|
spec.author = 'Reductive Labs'
|
@@ -88,7 +89,7 @@ task :mail_patches do
|
|
88
89
|
type, parent, name = $1, $2, $3
|
89
90
|
|
90
91
|
# Create all of the patches
|
91
|
-
sh "git format-patch -C -M -s -n #{parent}..HEAD"
|
92
|
+
sh "git format-patch -C -M -s -n --subject-prefix='PATCH/facter' #{parent}..HEAD"
|
92
93
|
|
93
94
|
# And then mail them out.
|
94
95
|
|
@@ -100,7 +101,7 @@ task :mail_patches do
|
|
100
101
|
end
|
101
102
|
|
102
103
|
# Now send the mail.
|
103
|
-
sh "git send-email #{compose} --no-
|
104
|
+
sh "git send-email #{compose} --no-signed-off-by-cc --suppress-from --to puppet-dev@googlegroups.com 00*.patch"
|
104
105
|
|
105
106
|
# Finally, clean up the patches
|
106
107
|
sh "rm 00*.patch"
|
data/conf/redhat/facter.spec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Summary: Ruby module for collecting simple facts about a host operating system
|
7
7
|
Name: facter
|
8
|
-
Version: 1.5.
|
8
|
+
Version: 1.5.5
|
9
9
|
Release: 1%{?dist}
|
10
10
|
License: GPLv2+
|
11
11
|
Group: System Environment/Base
|
12
12
|
URL: http://reductivelabs.com/projects/facter
|
13
|
-
Source0: http://reductivelabs.com/downloads/facter/%{name}-%{version}.
|
13
|
+
Source0: http://reductivelabs.com/downloads/facter/%{name}-%{version}.tar.gz
|
14
14
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
15
15
|
%if %has_ruby_noarch
|
16
16
|
BuildArch: noarch
|
@@ -32,24 +32,10 @@ operating system. Additional facts can be added through simple Ruby scripts
|
|
32
32
|
%setup -q
|
33
33
|
|
34
34
|
%build
|
35
|
-
sed -i -e 's@^#!.*$@#! /usr/bin/ruby@' bin/facter
|
36
35
|
|
37
36
|
%install
|
38
37
|
rm -rf %{buildroot}
|
39
|
-
|
40
|
-
|
41
|
-
%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}
|
42
|
-
%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}/facter
|
43
|
-
%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}/facter/util
|
44
|
-
%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}/facter/util/plist
|
45
|
-
%{__install} -d -m0755 %{buildroot}%{_bindir}
|
46
|
-
%{__install} -d -m0755 %{buildroot}%{_docdir}/%{name}-%{version}
|
47
|
-
|
48
|
-
%{__install} -p -m0644 lib/*.rb %{buildroot}%{ruby_sitelibdir}
|
49
|
-
%{__install} -p -m0644 lib/facter/*.rb %{buildroot}%{ruby_sitelibdir}/facter
|
50
|
-
%{__install} -p -m0644 lib/facter/util/*.rb %{buildroot}%{ruby_sitelibdir}/facter/util
|
51
|
-
%{__install} -p -m0644 lib/facter/util/plist/*.rb %{buildroot}%{ruby_sitelibdir}/facter/util/plist
|
52
|
-
%{__install} -p -m0755 bin/facter %{buildroot}%{_bindir}
|
38
|
+
ruby install.rb --destdir=%{buildroot} --quick --no-rdoc
|
53
39
|
|
54
40
|
%clean
|
55
41
|
rm -rf %{buildroot}
|
@@ -64,6 +50,14 @@ rm -rf %{buildroot}
|
|
64
50
|
|
65
51
|
|
66
52
|
%changelog
|
53
|
+
* Fri May 22 2009 Todd Zullinger <tmz@pobox.com> - 1.5.5-1
|
54
|
+
- Update to 1.5.5
|
55
|
+
- Drop upstreamed libperms patch
|
56
|
+
|
57
|
+
* Sat Feb 28 2009 Todd Zullinger <tmz@pobox.com> - 1.5.4-1
|
58
|
+
- New version
|
59
|
+
- Use upstream install script
|
60
|
+
|
67
61
|
* Tue Sep 09 2008 Todd Zullinger <tmz@pobox.com> - 1.5.2-1
|
68
62
|
- New version
|
69
63
|
- Simplify spec file checking for Fedora and RHEL versions
|
data/lib/facter.rb
CHANGED
data/lib/facter/virtual.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reductive Labs
|
@@ -9,14 +9,14 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-06-04 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description:
|
17
17
|
email: puppet@reductivelabs.com
|
18
|
-
executables:
|
19
|
-
|
18
|
+
executables:
|
19
|
+
- facter
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files: []
|