[packages/glibc] move %{_includedir}/gnu/stubs-*.h to -headers

atler atler at pld-linux.org
Fri Mar 18 15:55:42 CET 2022


commit 7178b06c96c0b0673713a983ab4f1575e9c15a44
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 18 15:53:09 2022 +0100

    move %{_includedir}/gnu/stubs-*.h to -headers
    
    In file included from /usr/include/features.h:514,
                     from /usr/include/inttypes.h:25,
    ...
    /usr/include/gnu/stubs.h:10:11: error:
         fatal error: gnu/stubs-64.h: No such file or directory
                10 | # include <gnu/stubs-64.h>

 glibc.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index 0e080a4..f21aedd 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1876,10 +1876,6 @@ fi
 %ifarch alpha ppc sparc
 %{_libdir}/libnldbl_nonshared.a
 %endif
-%ifarch %{ix86} %{x8664} x32 ppc ppc64 s390 s390x sparc sparcv9 sparc64 aarch64 armv6hl armv7hl armv7hnl
-# ABI-dependent headers
-%{_includedir}/gnu/stubs-*.h
-%endif
 
 %files headers
 %defattr(644,root,root,755)
@@ -1894,6 +1890,10 @@ fi
 %dir %{_includedir}/gnu
 %{_includedir}/gnu/lib*.h
 %{_includedir}/gnu/stubs.h
+%ifarch %{ix86} %{x8664} x32 ppc ppc64 s390 s390x sparc sparcv9 sparc64 aarch64 armv6hl armv7hl armv7hnl
+# ABI-dependent headers
+%{_includedir}/gnu/stubs-*.h
+%endif
 %{_includedir}/net
 %{_includedir}/netash
 %{_includedir}/netatalk
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/7178b06c96c0b0673713a983ab4f1575e9c15a44



More information about the pld-cvs-commit mailing list