ManageIQ / manageiq-rpm_build

Code to build RPMs for ManageIQ appliances and container images
Apache License 2.0
10 stars 25 forks source link

Fix RPM spec require parsing issue #413

Closed bdunne closed 1 year ago

bdunne commented 1 year ago

Introduced in #406

 ---> rpmbuild -ba --define '_sourcedir /root/BUILD/rpm_spec' --define '_srcrpmdir /root/BUILD/rpms/x86_64' --define '_rpmdir /root/BUILD/rpms' manageiq.spec
error: line 307: Dependency tokens must begin with alpha-numeric, '_' or '/': Requires: core-utils     # rpm %pre calls uses id
miq-bot commented 1 year ago

Checked commit https://github.com/bdunne/manageiq-rpm_build/commit/c87a3b481fa954ff6c8d28efe592fc6107bac926 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint 0 files checked, 0 offenses detected Everything looks fine. :cookie:

Fryguy commented 1 year ago

Backported to quinteros in commit 5bf6aee1dc337cd73892df81cd66aeacf9c002bd.

commit 5bf6aee1dc337cd73892df81cd66aeacf9c002bd
Author: Joe Rafaniello <jrafanie@users.noreply.github.com>
Date:   Thu Aug 24 14:16:07 2023 -0400

    Merge pull request #413 from bdunne/rpm_spec_issues

    Fix RPM spec require parsing issue

    (cherry picked from commit d1fbbbd714c4429dc7063a74097ffb07951bd4e1)