[arch-commits] Commit in facter/trunk (PKGBUILD gemspec.in)
Jonathan Steel
jsteel at archlinux.org
Tue Nov 3 19:46:39 UTC 2015
Date: Tuesday, November 3, 2015 @ 20:46:38
Author: jsteel
Revision: 145879
upgpkg: facter 3.1.1-1
Added:
facter/trunk/gemspec.in
Modified:
facter/trunk/PKGBUILD
------------+
PKGBUILD | 14 ++++++++++----
gemspec.in | 21 +++++++++++++++++++++
2 files changed, 31 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-03 19:46:05 UTC (rev 145878)
+++ PKGBUILD 2015-11-03 19:46:38 UTC (rev 145879)
@@ -7,8 +7,8 @@
# Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com>
pkgname=facter
-pkgver=3.1.0
-pkgrel=2
+pkgver=3.1.1
+pkgrel=1
pkgdesc="Collect and display system facts"
arch=('i686' 'x86_64')
url="http://puppetlabs.com/facter"
@@ -16,9 +16,15 @@
depends=('ruby' 'yaml-cpp' 'boost-libs' 'curl')
makedepends=('boost' 'cmake')
replaces=('cfacter')
-source=(http://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('b8824f0c336952747b74d0f771158ce3')
+source=(http://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz
+ gemspec.in)
+md5sums=('2e1e359103b507090e28da1065940a10'
+ '8eb61d40e280c90608c11a0e328abe1e')
+prepare() {
+ cp gemspec.in $pkgname-$pkgver/lib/.gemspec.in
+}
+
build() {
cd $pkgname-$pkgver
Added: gemspec.in
===================================================================
--- gemspec.in (rev 0)
+++ gemspec.in 2015-11-03 19:46:38 UTC (rev 145879)
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = "facter"
+ version = "@LIBFACTER_VERSION_MAJOR at .@LIBFACTER_VERSION_MINOR at .@LIBFACTER_VERSION_PATCH@"
+ mdata = version.match(/(\d+\.\d+\.\d+)/)
+ s.version = mdata ? mdata[1] : version
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0")
+ s.authors = ["Puppet Labs"]
+ s.date = "2015-10-22"
+ s.description = "You can prove anything with facts!"
+ s.email = "info at puppetlabs.com"
+ s.files = ["bin/facter"]
+ s.homepage = "https://puppetlabs.com"
+ s.require_paths = ["lib"]
+ s.summary = "Facter, a system inventory tool"
+ s.specification_version = 3
+ s.required_ruby_version = '~> 2.1.7'
+
+end
More information about the arch-commits
mailing list