#17 Update to 4.6.0 and add tests + README
Merged a month ago by ekohl. Opened a month ago by ekohl.
rpms/ ekohl/facter rawhide  into  rawhide

Add tests and gating
Ewoud Kohl van Wijngaarden • a month ago  
Update to 4.6.0 (fixes rhbz#2259042)
Ewoud Kohl van Wijngaarden • a month ago  
Add a README with instructions to update
Ewoud Kohl van Wijngaarden • a month ago  
file added
+1
@@ -0,0 +1,1 @@ 

+ 1

file added
+33
@@ -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)"

+ ```

file modified
+2 -2
@@ -2,7 +2,7 @@ 

  %global debug_package %{nil}

  

  Name:           facter

- Version:        4.5.1

+ Version:        4.6.0

  Release:        %autorelease

  Summary:        Command and ruby library for gathering system information

  
@@ -14,7 +14,7 @@ 

  

  BuildRequires:  gnupg2

  BuildRequires:  rubygems-devel

- BuildRequires:  ruby >= 2.5

+ BuildRequires:  ruby >= 2.6

  Requires:       ruby(rubygems)

  

  # Add runtime deps for testing

file added
+16
@@ -0,0 +1,16 @@ 

+ --- !Policy

+ product_versions:

+   - epel-*

+   - fedora-*

+ decision_contexts: [bodhi_update_push_testing]

+ subject_type: koji_build

+ rules:

+   - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

+ --- !Policy

+ product_versions:

+   - epel-*

+   - fedora-*

+ decision_contexts: [bodhi_update_push_stable]

+ subject_type: koji_build

+ rules:

+   - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

file added
+7
@@ -0,0 +1,7 @@ 

+ summary: Basic smoke test

+ prepare:

+     how: install

+     package: facter

+ execute:

+     how: tmt

+     script: facter os.family | grep RedHat

file modified
+2 -2
@@ -1,2 +1,2 @@ 

- SHA512 (facter-4.5.1.gem) = e648a7e9ee50b929911d286cfccd93902afc69e59534556b56cbf5a282b27ddf358e3751175bfd148c01ee7025e3cc17f483a1054e08cca15df8f02564990869

- SHA512 (facter-4.5.1.gem.asc) = 1d0f0dbc975a694bb6835c6a0169787fb2770fd3a8ba24fcdce12fa513fef5b8cca1b8615ffcd064d5e1b509d5c276d2a89be726e681fa358bcfcd31ce8192bd

+ SHA512 (facter-4.6.0.gem) = d9e29d133b2d39f269a26ccf4174b07fdedc9816df9b1b51fccf0552ffb75e7d77fb56f66d2d58bca5d883e5ece058a055f2d268721e2b091982b64582095bb2

+ SHA512 (facter-4.6.0.gem.asc) = 113b70c728a014a8e0653cc1991d00bcafa6ef6797914f847a704a5cee15c43b7dc2424ddbed9d4878ab7c7f88a57bf3c70a32b3770c848aadef0eda7645157a

no initial comment

Pull-Request has been merged by ekohl

a month ago