[Rpm-maint] [rpm] fix %doc with glob with some locales (#45)

soig notifications at github.com
Sun Jan 17 01:34:27 UTC 2016


Some spec files fail to build under some locales, when %doc is used with glob.
eg:

%build
touch author AUTHORS Ch cha
%files
%doc [A-Z]*

Which results in:

LANG=fr LC_COLLATE=fr LC_ALL=fr rpmbuild -ba SPECS/null.spec
(...)
error: Installed (but unpackaged) file(s) found:
   /usr/share/doc/null/cha
   /usr/share/doc/null/debugfiles.list
   /usr/share/doc/null/debuglinks.list
   /usr/share/doc/null/debugsources.list

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/doc/null/cha
   /usr/share/doc/null/debugfiles.list
   /usr/share/doc/null/debuglinks.list
   /usr/share/doc/null/debugsources.list

Which is obviously not expected...
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/45

-- Commit Summary --

  * fix %doc with glob with some locales

-- File Changes --

    M build/files.c (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/45.patch
https://github.com/rpm-software-management/rpm/pull/45.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/45
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160116/a7daf451/attachment.html>


More information about the Rpm-maint mailing list