Bug 2024694

Summary: Incorrectly versioned conflicts on redhat-rpm-macros for kmod.attr move
Product: [Fedora] Fedora Reporter: Daniel BerrangĂ© <berrange>
Component: kernel-srpm-macrosAssignee: Eugene Syromiatnikov <esyr>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: esyr, gwync, skozina, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-srpm-macros-1.0-13.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-19 13:09:41 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 Daniel Berrangé 2021-11-18 17:09:55 UTC
Description of problem:
Attempting to do a build in rawhide I get a mock failure

https://kojipkgs.fedoraproject.org//work/tasks/8923/79028923/root.log

DEBUG util.py:444:    file /usr/lib/rpm/fileattrs/kmod.attr conflicts between attempted installs of redhat-rpm-config-204-1.fc36.noarch and kernel-srpm-macros-1.0-10.fc36.noarch

I see the specfile has

  # We are now the ones shipping kmod.attr
  Conflicts:      redhat-rpm-config < 204

but that version < 204 isn't right, because redhat-rpm-config = 204 is still shipping kmod.attr base on the file conflicts seen in koji.


Version-Release number of selected component (if applicable):
kernel-srpm-macros-1.0-10.fc36.noarch

Comment 1 Gwyn Ciesla 2021-11-18 17:38:08 UTC
I'm hitting this too.

Comment 2 Daniel Berrangé 2021-11-18 17:50:07 UTC
Note, I filed this bug only for the incorrect Conflicts line version number. For solving the ultimate bug of clashing files, I filed another against redhat-rpm-config https://bugzilla.redhat.com/show_bug.cgi?id=2024696

Comment 3 Kevin Fenzi 2021-11-18 17:52:07 UTC
I have untagged kernel-srpm-macros-1.0-10.fc36 from f36 and eln.