puppet: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:00 +00:00
parent e7f304a36e
commit 1c8ff1ed77
2 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,6 @@ short_desc="Server automation framework and application"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="http://puppetlabs.com/facter" homepage="http://puppetlabs.com/facter"
update_pattern=$pkgname'-\K[\d.]+(?=\.tar.gz)'
distfiles="http://downloads.puppetlabs.com/$pkgname/$pkgname-$version.tar.gz" distfiles="http://downloads.puppetlabs.com/$pkgname/$pkgname-$version.tar.gz"
checksum=4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637 checksum=4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637

1
srcpkgs/puppet/update Normal file
View File

@ -0,0 +1 @@
pattern=$pkgname'-\K[\d.]+(?=\.tar.gz)'