| |
@@ -0,0 +1,33 @@
|
| |
+ # Facter
|
| |
+
|
| |
+ This is the packaging for [facter](https://github.com/puppetlabs/facter), an important dependency of Puppet.
|
| |
+ The files are downloaded from [downloads.puppet.com](https://downloads.puppet.com/puppet/) since they contain GPG signed tarballs, unlike on Rubygems.
|
| |
+
|
| |
+ ## Updating
|
| |
+
|
| |
+ Typically you will be notified via [release-monitoring](https://release-monitoring.org/project/7018/), which creates a Bugzilla.
|
| |
+ Start with bumping the spec and reference the Bugzilla number.
|
| |
+
|
| |
+ ```
|
| |
+ rpmdev-bumpspec facter.spec --new 4.6.0
|
| |
+ ```
|
| |
+
|
| |
+ Then verify whether any (build) requires need to be updated.
|
| |
+
|
| |
+ Once that's done, retrieve the sources:
|
| |
+
|
| |
+ ```
|
| |
+ spectool --get-files facter.spec
|
| |
+ ```
|
| |
+
|
| |
+ Then upload the sources:
|
| |
+ ```
|
| |
+ spectool --list-files facter.spec | grep -v 'Source2:' | awk '/https:/ { print $2 }' | xargs -n 1 basename | xargs fedpkg new-sources --offline
|
| |
+ ```
|
| |
+
|
| |
+ If it looks all right, drop the `--offline` parameter.
|
| |
+
|
| |
+ Now commit the changes:
|
| |
+ ```
|
| |
+ BZ=2259042 VERSION=4.6.0 ; git commit -a -m "Update to $VERSION (fixes rhbz#$BZ)"
|
| |
+ ```
|
| |