Bug 972994 - 4.11.1 does not allow "%files -n %{name}"?
4.11.1 does not allow "%files -n %{name}"?
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-06-10 23:11 EDT by Jens Petersen
Modified: 2013-06-13 02:55 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-11 03:19:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jens Petersen 2013-06-10 23:11:36 EDT
Description of problem:
Today I built a new package in koji for f17, f18, f19 and el6,
but it fails to build in rawhide seemingly because rpmbuild
is no longer accepting "%files -n %{name}".

Version-Release number of selected component (if applicable):

How reproducible:
every time

Steps to Reproduce:
1. build package with (implicit) %files -n %{name}

Actual results:
error: line 49: Package does not exist: %files -n ghc-setenv -f ghc-setenv.files
(the src package is ghc-setenv in this case)



Expected results:
no error

Additional info:
This seems to be new to 4.11.1.
It is not really a big deal for me since Haskell templates are
changing anyway to new simplified Haskell Packaging Guidelines,
but anyway this seems like a change of behaviour/regression.
Comment 1 Panu Matilainen 2013-06-11 02:18:41 EDT
This is a regression alright, will fix. Thanks for reporting!
Comment 2 Panu Matilainen 2013-06-11 03:19:34 EDT
Fixed in rpm-4.11.1-0.rc1.2.fc20. And again, thanks for reporting. This is just the kind of stuff I wanted to catch with the rc :)
Comment 3 Jens Petersen 2013-06-13 02:55:10 EDT


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