https://bugzilla.redhat.com/show_bug.cgi?id=156477
--- Comment #52 from Mike FABIAN <mfabian(a)redhat.com> ---
(In reply to Carlos O'Donell from comment #50)
(In reply to Mike FABIAN from comment #49)
> I can try whether rpm.expand does the job.
Mike, Would you give it a try and see? That way we can unblock the copr
rawhide builds by removing the dependency on this apparently new feature.
Otherwise we'll have broken rawhide builds for a month or more before the
copr upgrade completes (to using F21 build hosts).
Yes, this change works:
diff --git a/glibc.spec b/glibc.spec
index a845182..2c166ad 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1579,22 +1579,22 @@ end
%postun -p /sbin/ldconfig
-%triggerin common -e -p <lua> -- glibc
+%triggerin common -p <lua> -- glibc
if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size")
> 0 then
pid = posix.fork()
if pid == 0 then
- posix.exec("%{_prefix}/sbin/build-locale-archive",
"--install-langs",
"%%{_install_langs}")
+ posix.exec("%{_prefix}/sbin/build-locale-archive",
"--install-langs",
rpm.expand("%%{_install_langs}"))
elseif pid > 0 then
posix.wait(pid)
end
end
-%post common -e -p <lua>
+%post common -p <lua>
if posix.access("/etc/ld.so.cache") then
if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size")
> 0 then
pid = posix.fork()
if pid == 0 then
- posix.exec("%{_prefix}/sbin/build-locale-archive",
"--install-langs",
"%%{_install_langs}")
+ posix.exec("%{_prefix}/sbin/build-locale-archive",
"--install-langs",
rpm.expand("%%{_install_langs}"))
elseif pid > 0 then
posix.wait(pid)
end
lines 1-37/37 (END)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=PlcWtCDVHS&a=cc_unsubscribe