RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1203360 - jpackage-utils-README contains unexpanded RPM macros
Summary: jpackage-utils-README contains unexpanded RPM macros
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: jpackage-utils
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: jiri vanek
QA Contact: Martin Frodl
URL:
Whiteboard:
Depends On:
Blocks: 1271375
TreeView+ depends on / blocked
 
Reported: 2015-03-18 16:54 UTC by Martin Frodl
Modified: 2016-05-10 20:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:08:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (599 bytes, patch)
2015-03-20 16:44 UTC, jiri vanek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0773 0 normal SHIPPED_LIVE jpackage-utils bug fix update 2016-05-10 22:34:50 UTC

Description Martin Frodl 2015-03-18 16:54:04 UTC
Description of problem:

There are unexpanded RPM macros in file /usr/share/doc/jpackage-utils-1.7.5/jpackage-utils-README, such as:

* %{_bindir}/check-binary-files
                                check for presence of unexpected binary files
* %{_datadir}/java-utils/java-functions
                                shell script functions library for Java
                                applications
* %{_sysconfdir}/java/jpackage-release
                                string identifying the currently installed
                                JPackage release
etc.

Please either make sure they are expanded when building the RPM or -- in case
this is intentional -- provide a justification for why to keep the file the way it is.

Version-Release number of selected component (if applicable):
jpackage-utils-1.7.5-3.14.el6.noarch

Comment 2 jiri vanek 2015-03-20 16:44:11 UTC
Created attachment 1004561 [details]
patch

Comment 3 jiri vanek 2015-03-20 16:44:39 UTC
should do the job

Comment 4 Deepak Bhole 2015-03-24 13:44:55 UTC
Hi Jiri, thanks for the patch. It looks fine to me. Approved for push assuming smoke testing has been performed.

Comment 5 jiri vanek 2015-03-24 14:25:36 UTC
Yes, it was tested, and the macros are "expanded". To push, I will need pm++ and qa++. Maybe they will notice this time...?

Comment 11 errata-xmlrpc 2016-05-10 20:08:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0773.html


Note You need to log in before you can comment on or make changes to this bug.