fpm 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 173d3185b39df15876683e91714e7a93970490cc
4
- data.tar.gz: 15ffd8f3ff5b2658cd35aeb8b6188d90a00d3f7f
3
+ metadata.gz: 07da7989aad6ad5467e603091a7e4bf32b7b3c0d
4
+ data.tar.gz: d57ee3c926610bdb7632e1d47c71dc58b2cec565
5
5
  SHA512:
6
- metadata.gz: d25c03ef3397d2731d75d97c976a69174caa7b8eed89d8318d561e4516ecf5b4fb47d1f0fe5e96edb26094870b9c27e30d9366e89c3384bc527dea6cfd85c7f6
7
- data.tar.gz: e6ee35e8c70e12f88d8350bfb7d5f4e06939d33257fcea64e3f16918f60acb84865c66bd7ac2ee6e6c0dea0ade119e7982256f0e9644ad860c6a8b40936427ca
6
+ metadata.gz: 0050e0c4bdf76b205c9c76284349916f85e82f4679690bd5d2be77124624f0c5435c29aae1cc761afe36b9f75bace5724941fdb58d6af8adb536272c383bc7e7
7
+ data.tar.gz: fd3dc776f652d02a5b5f2451bf57c08b1995ef51455bc38c4ef0f3207eb93cb04c5df06bceab33f9a2542dcd23ddebc74590ab20b1547a52a3cd2c3e33b92f8f
data/CHANGELIST CHANGED
@@ -1,7 +1,13 @@
1
+ 1.6.1 (June 10, 2016)
2
+ - freebsd: Only load xz support if we are doing a freebsd output. (#1132,
3
+ #1090, Ketan Padegaonkar)
4
+
1
5
  1.6.0 (May 25, 2016)
2
6
  - New source: pleaserun. This lets you create packages that will install a
3
7
  system service. An after-install script is used in the package to determine
4
- which service platform to target (systemd, upstart, etc). (#1119, #1112)
8
+ which service platform to target (systemd, upstart, etc). Originated from
9
+ Aaron Mildenstein's work on solving this problem for Logstash. (#1119,
10
+ #1112)
5
11
  - New target: Alpine Linux "apk" packages. (#1054, George Lester)
6
12
  - deb: don't append `.conf` to an upstart file if the file name already ends
7
13
  in `.conf`. (#1115, josegonzalez)
@@ -3,7 +3,6 @@ require "fpm/package"
3
3
  require "fpm/util"
4
4
  require "digest"
5
5
  require "fileutils"
6
- require "xz"
7
6
 
8
7
  class FPM::Package::FreeBSD < FPM::Package
9
8
  SCRIPT_MAP = {
@@ -30,6 +29,10 @@ class FPM::Package::FreeBSD < FPM::Package
30
29
  :default => "fpm/<name>"
31
30
 
32
31
  def output(output_path)
32
+ # See https://github.com/jordansissel/fpm/issues/1090
33
+ # require xz later, because this triggers a load of liblzma.so.5 that is
34
+ # unavailable on older CentOS/RH distros.
35
+ require "xz"
33
36
  output_check(output_path)
34
37
 
35
38
  # Build the packaging metadata files.
@@ -101,7 +101,7 @@ class FPM::Package::RPM < FPM::Package
101
101
  option "--autoprov", :flag, "Enable RPM's AutoProv option"
102
102
 
103
103
  option "--attr", "ATTRFILE",
104
- "Set the attribute for a file (%attr).",
104
+ "Set the attribute for a file (%attr), e.g. --rpm-attr 750,user1,group1:/some/file",
105
105
  :multivalued => true, :attribute_name => :attrs
106
106
 
107
107
  option "--init", "FILEPATH", "Add FILEPATH as an init script",
data/lib/fpm/rake_task.rb CHANGED
@@ -14,7 +14,7 @@ class FPM::RakeTask < Rake::TaskLib
14
14
  (@source.empty? || @target.empty? || options.name.empty?) &&
15
15
  abort("Must specify package name, source and output")
16
16
 
17
- desc "Package #{@name}" unless ::Rake.application.last_comment
17
+ desc "Package #{@name}" unless ::Rake.application.last_description
18
18
 
19
19
  task(options.name) do |_, task_args|
20
20
  block.call(*[options, task_args].first(block.arity)) if block_given?
data/lib/fpm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FPM
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Sissel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-23 00:00:00.000000000 Z
11
+ date: 2016-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json