Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1527956

Summary: %check RPM macro used in %changelog needs to be escaped
Product: [Fedora] Fedora Reporter: Kamil Dudka <kdudka>
Component: usbguardAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dkopecek
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: usbguard-0.7.2-2.fc26 usbguard-0.7.2-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-22 16:47:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Dudka 2017-12-20 15:19:23 UTC
Description of problem:
usbguard.spec contains unescaped RPM macro in a change log entry, which is not allowed.


Version-Release number of selected component (if applicable):
usbguard-0.7.1-1.fc27


Steps to Reproduce:
1. rpmlint usbguard.spec


Actual results:
usbguard.spec:332: W: macro-in-%changelog %check
0 packages and 1 specfiles checked; 0 errors, 1 warnings.


Additional info:
This causes problems to csmock (a tool for fully automatic static analysis of
RPM packages).


Please consider applying the following trivial patch:
--- a/usbguard.spec
+++ b/usbguard.spec
@@ -329,7 +329,7 @@ find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'

 * Tue Apr 14 2015 Daniel Kopecek <dkopecek> 0.3p3-1
 - Update to version 0.3p3
-- added %check section
+- added %%check section
 - removed explicit -devel requires on systemd, libqb and
   libsodium devel files
 - added -devel requires on libstdc++-devel

Comment 1 Fedora Update System 2018-01-23 14:34:18 UTC
usbguard-0.7.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6c17a7c43b

Comment 2 Fedora Update System 2018-01-23 14:34:32 UTC
usbguard-0.7.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f71a44ae09

Comment 3 Fedora Update System 2018-01-23 22:51:00 UTC
usbguard-0.7.2-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-6c17a7c43b

Comment 4 Fedora Update System 2018-01-23 23:42:59 UTC
usbguard-0.7.2-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f71a44ae09

Comment 5 Fedora Update System 2018-03-22 16:47:57 UTC
usbguard-0.7.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-03-22 16:59:33 UTC
usbguard-0.7.2-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.