Accepting request 994522 from Base:System
- Add patch gnulib-ppc64le.patch * Support ppc64le float128 transition - Drop usage of update-alternatives as mandoc does not use it (nor libalternative) - switch source url to https OBS-URL: https://build.opensuse.org/request/show/994522 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=89
This commit is contained in:
commit
fe221b4b23
598
gnulib-ppc64le.patch
Normal file
598
gnulib-ppc64le.patch
Normal file
@ -0,0 +1,598 @@
|
||||
---
|
||||
gl/lib/cdefs.h | 337 ++++++++++++++++++++++++++++++++++++++++++++-------------
|
||||
1 file changed, 264 insertions(+), 73 deletions(-)
|
||||
|
||||
--- gl/lib/cdefs.h
|
||||
+++ gl/lib/cdefs.h 2022-08-11 11:50:49.057218734 +0000
|
||||
@@ -1,17 +1,18 @@
|
||||
-/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
+/* Copyright (C) 1992-2022 Free Software Foundation, Inc.
|
||||
+ Copyright The GNU Toolchain Authors.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
- modify it under the terms of the GNU General Public
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
- version 3 of the License, or (at your option) any later version.
|
||||
+ version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
- General Public License for more details.
|
||||
+ Lesser General Public License for more details.
|
||||
|
||||
- You should have received a copy of the GNU General Public
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
@@ -25,7 +26,7 @@
|
||||
|
||||
/* The GNU libc does not support any K&R compilers or the traditional mode
|
||||
of ISO C compilers anymore. Check for some of the combinations not
|
||||
- anymore supported. */
|
||||
+ supported anymore. */
|
||||
#if defined __GNUC__ && !defined __STDC__
|
||||
# error "You need a ISO C conforming compiler to use the glibc headers"
|
||||
#endif
|
||||
@@ -34,7 +35,29 @@
|
||||
#undef __P
|
||||
#undef __PMT
|
||||
|
||||
-#ifdef __GNUC__
|
||||
+/* Compilers that lack __has_attribute may object to
|
||||
+ #if defined __has_attribute && __has_attribute (...)
|
||||
+ even though they do not need to evaluate the right-hand side of the &&.
|
||||
+ Similarly for __has_builtin, etc. */
|
||||
+#if (defined __has_attribute \
|
||||
+ && (!defined __clang_minor__ \
|
||||
+ || 3 < __clang_major__ + (5 <= __clang_minor__)))
|
||||
+# define __glibc_has_attribute(attr) __has_attribute (attr)
|
||||
+#else
|
||||
+# define __glibc_has_attribute(attr) 0
|
||||
+#endif
|
||||
+#ifdef __has_builtin
|
||||
+# define __glibc_has_builtin(name) __has_builtin (name)
|
||||
+#else
|
||||
+# define __glibc_has_builtin(name) 0
|
||||
+#endif
|
||||
+#ifdef __has_extension
|
||||
+# define __glibc_has_extension(ext) __has_extension (ext)
|
||||
+#else
|
||||
+# define __glibc_has_extension(ext) 0
|
||||
+#endif
|
||||
+
|
||||
+#if defined __GNUC__ || defined __clang__
|
||||
|
||||
/* All functions, except those with callbacks or those that
|
||||
synchronize memory, are leaf functions. */
|
||||
@@ -47,21 +70,26 @@
|
||||
# endif
|
||||
|
||||
/* GCC can always grok prototypes. For C++ programs we add throw()
|
||||
- to help it optimize the function calls. But this works only with
|
||||
- gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions
|
||||
+ to help it optimize the function calls. But this only works with
|
||||
+ gcc 2.8.x and egcs. For gcc 3.4 and up we even mark C functions
|
||||
as non-throwing using a function attribute since programs can use
|
||||
the -fexceptions options for C code as well. */
|
||||
-# if !defined __cplusplus && __GNUC_PREREQ (3, 3)
|
||||
+# if !defined __cplusplus \
|
||||
+ && (__GNUC_PREREQ (3, 4) || __glibc_has_attribute (__nothrow__))
|
||||
# define __THROW __attribute__ ((__nothrow__ __LEAF))
|
||||
# define __THROWNL __attribute__ ((__nothrow__))
|
||||
# define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct
|
||||
# define __NTHNL(fct) __attribute__ ((__nothrow__)) fct
|
||||
# else
|
||||
-# if defined __cplusplus && __GNUC_PREREQ (2,8)
|
||||
-# define __THROW throw ()
|
||||
-# define __THROWNL throw ()
|
||||
-# define __NTH(fct) __LEAF_ATTR fct throw ()
|
||||
-# define __NTHNL(fct) fct throw ()
|
||||
+# if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major >= 4)
|
||||
+# if __cplusplus >= 201103L
|
||||
+# define __THROW noexcept (true)
|
||||
+# else
|
||||
+# define __THROW throw ()
|
||||
+# endif
|
||||
+# define __THROWNL __THROW
|
||||
+# define __NTH(fct) __LEAF_ATTR fct __THROW
|
||||
+# define __NTHNL(fct) fct __THROW
|
||||
# else
|
||||
# define __THROW
|
||||
# define __THROWNL
|
||||
@@ -70,7 +98,7 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
-#else /* Not GCC. */
|
||||
+#else /* Not GCC or clang. */
|
||||
|
||||
# if (defined __cplusplus \
|
||||
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L))
|
||||
@@ -83,16 +111,7 @@
|
||||
# define __THROWNL
|
||||
# define __NTH(fct) fct
|
||||
|
||||
-#endif /* GCC. */
|
||||
-
|
||||
-/* Compilers that are not clang may object to
|
||||
- #if defined __clang__ && __has_extension(...)
|
||||
- even though they do not need to evaluate the right-hand side of the &&. */
|
||||
-#if defined __clang__ && defined __has_extension
|
||||
-# define __glibc_clang_has_extension(ext) __has_extension (ext)
|
||||
-#else
|
||||
-# define __glibc_clang_has_extension(ext) 0
|
||||
-#endif
|
||||
+#endif /* GCC || clang. */
|
||||
|
||||
/* These two macros are not used in glibc anymore. They are kept here
|
||||
only because some other projects expect the macros to be defined. */
|
||||
@@ -123,14 +142,68 @@
|
||||
#define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
|
||||
#define __bos0(ptr) __builtin_object_size (ptr, 0)
|
||||
|
||||
+/* Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available. */
|
||||
+#if __USE_FORTIFY_LEVEL == 3 && (__glibc_clang_prereq (9, 0) \
|
||||
+ || __GNUC_PREREQ (12, 0))
|
||||
+# define __glibc_objsize0(__o) __builtin_dynamic_object_size (__o, 0)
|
||||
+# define __glibc_objsize(__o) __builtin_dynamic_object_size (__o, 1)
|
||||
+#else
|
||||
+# define __glibc_objsize0(__o) __bos0 (__o)
|
||||
+# define __glibc_objsize(__o) __bos (__o)
|
||||
+#endif
|
||||
+
|
||||
+/* Compile time conditions to choose between the regular, _chk and _chk_warn
|
||||
+ variants. These conditions should get evaluated to constant and optimized
|
||||
+ away. */
|
||||
+
|
||||
+#define __glibc_safe_len_cond(__l, __s, __osz) ((__l) <= (__osz) / (__s))
|
||||
+#define __glibc_unsigned_or_positive(__l) \
|
||||
+ ((__typeof (__l)) 0 < (__typeof (__l)) -1 \
|
||||
+ || (__builtin_constant_p (__l) && (__l) > 0))
|
||||
+
|
||||
+/* Length is known to be safe at compile time if the __L * __S <= __OBJSZ
|
||||
+ condition can be folded to a constant and if it is true. The -1 check is
|
||||
+ redundant because since it implies that __glibc_safe_len_cond is true. */
|
||||
+#define __glibc_safe_or_unknown_len(__l, __s, __osz) \
|
||||
+ (__glibc_unsigned_or_positive (__l) \
|
||||
+ && __builtin_constant_p (__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), \
|
||||
+ __s, __osz)) \
|
||||
+ && __glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz))
|
||||
+
|
||||
+/* Conversely, we know at compile time that the length is unsafe if the
|
||||
+ __L * __S <= __OBJSZ condition can be folded to a constant and if it is
|
||||
+ false. */
|
||||
+#define __glibc_unsafe_len(__l, __s, __osz) \
|
||||
+ (__glibc_unsigned_or_positive (__l) \
|
||||
+ && __builtin_constant_p (__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), \
|
||||
+ __s, __osz)) \
|
||||
+ && !__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz))
|
||||
+
|
||||
+/* Fortify function f. __f_alias, __f_chk and __f_chk_warn must be
|
||||
+ declared. */
|
||||
+
|
||||
+#define __glibc_fortify(f, __l, __s, __osz, ...) \
|
||||
+ (__glibc_safe_or_unknown_len (__l, __s, __osz) \
|
||||
+ ? __ ## f ## _alias (__VA_ARGS__) \
|
||||
+ : (__glibc_unsafe_len (__l, __s, __osz) \
|
||||
+ ? __ ## f ## _chk_warn (__VA_ARGS__, __osz) \
|
||||
+ : __ ## f ## _chk (__VA_ARGS__, __osz))) \
|
||||
+
|
||||
+/* Fortify function f, where object size argument passed to f is the number of
|
||||
+ elements and not total size. */
|
||||
+
|
||||
+#define __glibc_fortify_n(f, __l, __s, __osz, ...) \
|
||||
+ (__glibc_safe_or_unknown_len (__l, __s, __osz) \
|
||||
+ ? __ ## f ## _alias (__VA_ARGS__) \
|
||||
+ : (__glibc_unsafe_len (__l, __s, __osz) \
|
||||
+ ? __ ## f ## _chk_warn (__VA_ARGS__, (__osz) / (__s)) \
|
||||
+ : __ ## f ## _chk (__VA_ARGS__, (__osz) / (__s)))) \
|
||||
+
|
||||
#if __GNUC_PREREQ (4,3)
|
||||
-# define __warndecl(name, msg) \
|
||||
- extern void name (void) __attribute__((__warning__ (msg)))
|
||||
# define __warnattr(msg) __attribute__((__warning__ (msg)))
|
||||
# define __errordecl(name, msg) \
|
||||
extern void name (void) __attribute__((__error__ (msg)))
|
||||
#else
|
||||
-# define __warndecl(name, msg) extern void name (void)
|
||||
# define __warnattr(msg)
|
||||
# define __errordecl(name, msg) extern void name (void)
|
||||
#endif
|
||||
@@ -142,8 +215,8 @@
|
||||
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __HP_cc
|
||||
# define __flexarr []
|
||||
# define __glibc_c99_flexarr_available 1
|
||||
-#elif __GNUC_PREREQ (2,97)
|
||||
-/* GCC 2.97 supports C99 flexible array members as an extension,
|
||||
+#elif __GNUC_PREREQ (2,97) || defined __clang__
|
||||
+/* GCC 2.97 and clang support C99 flexible array members as an extension,
|
||||
even when in C89 mode or compiling C++ (any version). */
|
||||
# define __flexarr []
|
||||
# define __glibc_c99_flexarr_available 1
|
||||
@@ -169,7 +242,7 @@
|
||||
Example:
|
||||
int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); */
|
||||
|
||||
-#if defined __GNUC__ && __GNUC__ >= 2
|
||||
+#if (defined __GNUC__ && __GNUC__ >= 2) || (__clang_major__ >= 4)
|
||||
|
||||
# define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias))
|
||||
# ifdef __cplusplus
|
||||
@@ -194,17 +267,17 @@
|
||||
*/
|
||||
#endif
|
||||
|
||||
-/* GCC has various useful declarations that can be made with the
|
||||
- `__attribute__' syntax. All of the ways we use this do fine if
|
||||
- they are omitted for compilers that don't understand it. */
|
||||
-#if !defined __GNUC__ || __GNUC__ < 2
|
||||
+/* GCC and clang have various useful declarations that can be made with
|
||||
+ the '__attribute__' syntax. All of the ways we use this do fine if
|
||||
+ they are omitted for compilers that don't understand it. */
|
||||
+#if !(defined __GNUC__ || defined __clang__)
|
||||
# define __attribute__(xyz) /* Ignore */
|
||||
#endif
|
||||
|
||||
/* At some point during the gcc 2.96 development the `malloc' attribute
|
||||
for functions was introduced. We don't want to use it unconditionally
|
||||
(although this would be possible) since it generates warnings. */
|
||||
-#if __GNUC_PREREQ (2,96)
|
||||
+#if __GNUC_PREREQ (2,96) || __glibc_has_attribute (__malloc__)
|
||||
# define __attribute_malloc__ __attribute__ ((__malloc__))
|
||||
#else
|
||||
# define __attribute_malloc__ /* Ignore */
|
||||
@@ -219,26 +292,41 @@
|
||||
# define __attribute_alloc_size__(params) /* Ignore. */
|
||||
#endif
|
||||
|
||||
+/* Tell the compiler which argument to an allocation function
|
||||
+ indicates the alignment of the allocation. */
|
||||
+#if __GNUC_PREREQ (4, 9) || __glibc_has_attribute (__alloc_align__)
|
||||
+# define __attribute_alloc_align__(param) \
|
||||
+ __attribute__ ((__alloc_align__ param))
|
||||
+#else
|
||||
+# define __attribute_alloc_align__(param) /* Ignore. */
|
||||
+#endif
|
||||
+
|
||||
/* At some point during the gcc 2.96 development the `pure' attribute
|
||||
for functions was introduced. We don't want to use it unconditionally
|
||||
(although this would be possible) since it generates warnings. */
|
||||
-#if __GNUC_PREREQ (2,96)
|
||||
+#if __GNUC_PREREQ (2,96) || __glibc_has_attribute (__pure__)
|
||||
# define __attribute_pure__ __attribute__ ((__pure__))
|
||||
#else
|
||||
# define __attribute_pure__ /* Ignore */
|
||||
#endif
|
||||
|
||||
/* This declaration tells the compiler that the value is constant. */
|
||||
-#if __GNUC_PREREQ (2,5)
|
||||
+#if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__)
|
||||
# define __attribute_const__ __attribute__ ((__const__))
|
||||
#else
|
||||
# define __attribute_const__ /* Ignore */
|
||||
#endif
|
||||
|
||||
+#if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
|
||||
+# define __attribute_maybe_unused__ __attribute__ ((__unused__))
|
||||
+#else
|
||||
+# define __attribute_maybe_unused__ /* Ignore */
|
||||
+#endif
|
||||
+
|
||||
/* At some point during the gcc 3.1 development the `used' attribute
|
||||
for functions was introduced. We don't want to use it unconditionally
|
||||
(although this would be possible) since it generates warnings. */
|
||||
-#if __GNUC_PREREQ (3,1)
|
||||
+#if __GNUC_PREREQ (3,1) || __glibc_has_attribute (__used__)
|
||||
# define __attribute_used__ __attribute__ ((__used__))
|
||||
# define __attribute_noinline__ __attribute__ ((__noinline__))
|
||||
#else
|
||||
@@ -247,7 +335,7 @@
|
||||
#endif
|
||||
|
||||
/* Since version 3.2, gcc allows marking deprecated functions. */
|
||||
-#if __GNUC_PREREQ (3,2)
|
||||
+#if __GNUC_PREREQ (3,2) || __glibc_has_attribute (__deprecated__)
|
||||
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
|
||||
#else
|
||||
# define __attribute_deprecated__ /* Ignore */
|
||||
@@ -256,8 +344,8 @@
|
||||
/* Since version 4.5, gcc also allows one to specify the message printed
|
||||
when a deprecated function is used. clang claims to be gcc 4.2, but
|
||||
may also support this feature. */
|
||||
-#if __GNUC_PREREQ (4,5) || \
|
||||
- __glibc_clang_has_extension (__attribute_deprecated_with_message__)
|
||||
+#if __GNUC_PREREQ (4,5) \
|
||||
+ || __glibc_has_extension (__attribute_deprecated_with_message__)
|
||||
# define __attribute_deprecated_msg__(msg) \
|
||||
__attribute__ ((__deprecated__ (msg)))
|
||||
#else
|
||||
@@ -270,7 +358,7 @@
|
||||
If several `format_arg' attributes are given for the same function, in
|
||||
gcc-3.0 and older, all but the last one are ignored. In newer gccs,
|
||||
all designated arguments are considered. */
|
||||
-#if __GNUC_PREREQ (2,8)
|
||||
+#if __GNUC_PREREQ (2,8) || __glibc_has_attribute (__format_arg__)
|
||||
# define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x)))
|
||||
#else
|
||||
# define __attribute_format_arg__(x) /* Ignore */
|
||||
@@ -280,7 +368,7 @@
|
||||
attribute for functions was introduced. We don't want to use it
|
||||
unconditionally (although this would be possible) since it
|
||||
generates warnings. */
|
||||
-#if __GNUC_PREREQ (2,97)
|
||||
+#if __GNUC_PREREQ (2,97) || __glibc_has_attribute (__format__)
|
||||
# define __attribute_format_strfmon__(a,b) \
|
||||
__attribute__ ((__format__ (__strfmon__, a, b)))
|
||||
#else
|
||||
@@ -288,19 +376,33 @@
|
||||
#endif
|
||||
|
||||
/* The nonnull function attribute marks pointer parameters that
|
||||
- must not be NULL. Do not define __nonnull if it is already defined,
|
||||
- for portability when this file is used in Gnulib. */
|
||||
+ must not be NULL. This has the name __nonnull in glibc,
|
||||
+ and __attribute_nonnull__ in files shared with Gnulib to avoid
|
||||
+ collision with a different __nonnull in DragonFlyBSD 5.9. */
|
||||
+#ifndef __attribute_nonnull__
|
||||
+# if __GNUC_PREREQ (3,3) || __glibc_has_attribute (__nonnull__)
|
||||
+# define __attribute_nonnull__(params) __attribute__ ((__nonnull__ params))
|
||||
+# else
|
||||
+# define __attribute_nonnull__(params)
|
||||
+# endif
|
||||
+#endif
|
||||
#ifndef __nonnull
|
||||
-# if __GNUC_PREREQ (3,3)
|
||||
-# define __nonnull(params) __attribute__ ((__nonnull__ params))
|
||||
+# define __nonnull(params) __attribute_nonnull__ (params)
|
||||
+#endif
|
||||
+
|
||||
+/* The returns_nonnull function attribute marks the return type of the function
|
||||
+ as always being non-null. */
|
||||
+#ifndef __returns_nonnull
|
||||
+# if __GNUC_PREREQ (4, 9) || __glibc_has_attribute (__returns_nonnull__)
|
||||
+# define __returns_nonnull __attribute__ ((__returns_nonnull__))
|
||||
# else
|
||||
-# define __nonnull(params)
|
||||
+# define __returns_nonnull
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* If fortification mode, we warn about unused results of certain
|
||||
function calls which can lead to problems. */
|
||||
-#if __GNUC_PREREQ (3,4)
|
||||
+#if __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__)
|
||||
# define __attribute_warn_unused_result__ \
|
||||
__attribute__ ((__warn_unused_result__))
|
||||
# if defined __USE_FORTIFY_LEVEL && __USE_FORTIFY_LEVEL > 0
|
||||
@@ -314,7 +416,7 @@
|
||||
#endif
|
||||
|
||||
/* Forces a function to be always inlined. */
|
||||
-#if __GNUC_PREREQ (3,2)
|
||||
+#if __GNUC_PREREQ (3,2) || __glibc_has_attribute (__always_inline__)
|
||||
/* The Linux kernel defines __always_inline in stddef.h (283d7573), and
|
||||
it conflicts with this definition. Therefore undefine it first to
|
||||
allow either header to be included first. */
|
||||
@@ -327,7 +429,7 @@
|
||||
|
||||
/* Associate error messages with the source location of the call site rather
|
||||
than with the source location inside the function. */
|
||||
-#if __GNUC_PREREQ (4,3)
|
||||
+#if __GNUC_PREREQ (4,3) || __glibc_has_attribute (__artificial__)
|
||||
# define __attribute_artificial__ __attribute__ ((__artificial__))
|
||||
#else
|
||||
# define __attribute_artificial__ /* Ignore */
|
||||
@@ -370,12 +472,14 @@
|
||||
run in pedantic mode if the uses are carefully marked using the
|
||||
`__extension__' keyword. But this is not generally available before
|
||||
version 2.8. */
|
||||
-#if !__GNUC_PREREQ (2,8)
|
||||
+#if !(__GNUC_PREREQ (2,8) || defined __clang__)
|
||||
# define __extension__ /* Ignore */
|
||||
#endif
|
||||
|
||||
-/* __restrict is known in EGCS 1.2 and above. */
|
||||
-#if !__GNUC_PREREQ (2,92)
|
||||
+/* __restrict is known in EGCS 1.2 and above, and in clang.
|
||||
+ It works also in C++ mode (outside of arrays), but only when spelled
|
||||
+ as '__restrict', not 'restrict'. */
|
||||
+#if !(__GNUC_PREREQ (2,92) || __clang_major__ >= 3)
|
||||
# if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
|
||||
# define __restrict restrict
|
||||
# else
|
||||
@@ -385,8 +489,9 @@
|
||||
|
||||
/* ISO C99 also allows to declare arrays as non-overlapping. The syntax is
|
||||
array_name[restrict]
|
||||
- GCC 3.1 supports this. */
|
||||
-#if __GNUC_PREREQ (3,1) && !defined __GNUG__
|
||||
+ GCC 3.1 and clang support this.
|
||||
+ This syntax is not usable in C++ mode. */
|
||||
+#if (__GNUC_PREREQ (3,1) || __clang_major__ >= 3) && !defined __cplusplus
|
||||
# define __restrict_arr __restrict
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
@@ -401,7 +506,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
-#if __GNUC__ >= 3
|
||||
+#if (__GNUC__ >= 3) || __glibc_has_builtin (__builtin_expect)
|
||||
# define __glibc_unlikely(cond) __builtin_expect ((cond), 0)
|
||||
# define __glibc_likely(cond) __builtin_expect ((cond), 1)
|
||||
#else
|
||||
@@ -409,15 +514,10 @@
|
||||
# define __glibc_likely(cond) (cond)
|
||||
#endif
|
||||
|
||||
-#ifdef __has_attribute
|
||||
-# define __glibc_has_attribute(attr) __has_attribute (attr)
|
||||
-#else
|
||||
-# define __glibc_has_attribute(attr) 0
|
||||
-#endif
|
||||
-
|
||||
#if (!defined _Noreturn \
|
||||
&& (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \
|
||||
- && !__GNUC_PREREQ (4,7))
|
||||
+ && !(__GNUC_PREREQ (4,7) \
|
||||
+ || (3 < __clang_major__ + (5 <= __clang_minor__))))
|
||||
# if __GNUC_PREREQ (2,8)
|
||||
# define _Noreturn __attribute__ ((__noreturn__))
|
||||
# else
|
||||
@@ -434,22 +534,63 @@
|
||||
# define __attribute_nonstring__
|
||||
#endif
|
||||
|
||||
+/* Undefine (also defined in libc-symbols.h). */
|
||||
+#undef __attribute_copy__
|
||||
+#if __GNUC_PREREQ (9, 0)
|
||||
+/* Copies attributes from the declaration or type referenced by
|
||||
+ the argument. */
|
||||
+# define __attribute_copy__(arg) __attribute__ ((__copy__ (arg)))
|
||||
+#else
|
||||
+# define __attribute_copy__(arg)
|
||||
+#endif
|
||||
+
|
||||
#if (!defined _Static_assert && !defined __cplusplus \
|
||||
&& (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \
|
||||
- && (!__GNUC_PREREQ (4, 6) || defined __STRICT_ANSI__))
|
||||
+ && (!(__GNUC_PREREQ (4, 6) || __clang_major__ >= 4) \
|
||||
+ || defined __STRICT_ANSI__))
|
||||
# define _Static_assert(expr, diagnostic) \
|
||||
extern int (*__Static_assert_function (void)) \
|
||||
[!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })]
|
||||
#endif
|
||||
|
||||
-/* The #ifndef lets Gnulib avoid including these on non-glibc
|
||||
- platforms, where the includes typically do not exist. */
|
||||
-#ifndef __WORDSIZE
|
||||
+/* Gnulib avoids including these, as they don't work on non-glibc or
|
||||
+ older glibc platforms. */
|
||||
+#ifndef __GNULIB_CDEFS
|
||||
# include <bits/wordsize.h>
|
||||
# include <bits/long-double.h>
|
||||
#endif
|
||||
|
||||
-#if defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH
|
||||
+#if __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
||||
+# ifdef __REDIRECT
|
||||
+
|
||||
+/* Alias name defined automatically. */
|
||||
+# define __LDBL_REDIR(name, proto) ... unused__ldbl_redir
|
||||
+# define __LDBL_REDIR_DECL(name) \
|
||||
+ extern __typeof (name) name __asm (__ASMNAME ("__" #name "ieee128"));
|
||||
+
|
||||
+/* Alias name defined automatically, with leading underscores. */
|
||||
+# define __LDBL_REDIR2_DECL(name) \
|
||||
+ extern __typeof (__##name) __##name \
|
||||
+ __asm (__ASMNAME ("__" #name "ieee128"));
|
||||
+
|
||||
+/* Alias name defined manually. */
|
||||
+# define __LDBL_REDIR1(name, proto, alias) ... unused__ldbl_redir1
|
||||
+# define __LDBL_REDIR1_DECL(name, alias) \
|
||||
+ extern __typeof (name) name __asm (__ASMNAME (#alias));
|
||||
+
|
||||
+# define __LDBL_REDIR1_NTH(name, proto, alias) \
|
||||
+ __REDIRECT_NTH (name, proto, alias)
|
||||
+# define __REDIRECT_NTH_LDBL(name, proto, alias) \
|
||||
+ __LDBL_REDIR1_NTH (name, proto, __##alias##ieee128)
|
||||
+
|
||||
+/* Unused. */
|
||||
+# define __REDIRECT_LDBL(name, proto, alias) ... unused__redirect_ldbl
|
||||
+# define __LDBL_REDIR_NTH(name, proto) ... unused__ldbl_redir_nth
|
||||
+
|
||||
+# else
|
||||
+_Static_assert (0, "IEEE 128-bits long double requires redirection on this platform");
|
||||
+# endif
|
||||
+#elif defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH
|
||||
# define __LDBL_COMPAT 1
|
||||
# ifdef __REDIRECT
|
||||
# define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias)
|
||||
@@ -458,6 +599,8 @@
|
||||
# define __LDBL_REDIR1_NTH(name, proto, alias) __REDIRECT_NTH (name, proto, alias)
|
||||
# define __LDBL_REDIR_NTH(name, proto) \
|
||||
__LDBL_REDIR1_NTH (name, proto, __nldbl_##name)
|
||||
+# define __LDBL_REDIR2_DECL(name) \
|
||||
+ extern __typeof (__##name) __##name __asm (__ASMNAME ("__nldbl___" #name));
|
||||
# define __LDBL_REDIR1_DECL(name, alias) \
|
||||
extern __typeof (name) name __asm (__ASMNAME (#alias));
|
||||
# define __LDBL_REDIR_DECL(name) \
|
||||
@@ -468,11 +611,13 @@
|
||||
__LDBL_REDIR1_NTH (name, proto, __nldbl_##alias)
|
||||
# endif
|
||||
#endif
|
||||
-#if !defined __LDBL_COMPAT || !defined __REDIRECT
|
||||
+#if (!defined __LDBL_COMPAT && __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 0) \
|
||||
+ || !defined __REDIRECT
|
||||
# define __LDBL_REDIR1(name, proto, alias) name proto
|
||||
# define __LDBL_REDIR(name, proto) name proto
|
||||
# define __LDBL_REDIR1_NTH(name, proto, alias) name proto __THROW
|
||||
# define __LDBL_REDIR_NTH(name, proto) name proto __THROW
|
||||
+# define __LDBL_REDIR2_DECL(name)
|
||||
# define __LDBL_REDIR_DECL(name)
|
||||
# ifdef __REDIRECT
|
||||
# define __REDIRECT_LDBL(name, proto, alias) __REDIRECT (name, proto, alias)
|
||||
@@ -503,7 +648,7 @@
|
||||
check is required to enable the use of generic selection. */
|
||||
#if !defined __cplusplus \
|
||||
&& (__GNUC_PREREQ (4, 9) \
|
||||
- || __glibc_clang_has_extension (c_generic_selections) \
|
||||
+ || __glibc_has_extension (c_generic_selections) \
|
||||
|| (!defined __GNUC__ && defined __STDC_VERSION__ \
|
||||
&& __STDC_VERSION__ >= 201112L))
|
||||
# define __HAVE_GENERIC_SELECTION 1
|
||||
@@ -511,4 +656,50 @@
|
||||
# define __HAVE_GENERIC_SELECTION 0
|
||||
#endif
|
||||
|
||||
+#if __GNUC_PREREQ (10, 0)
|
||||
+/* Designates a 1-based positional argument ref-index of pointer type
|
||||
+ that can be used to access size-index elements of the pointed-to
|
||||
+ array according to access mode, or at least one element when
|
||||
+ size-index is not provided:
|
||||
+ access (access-mode, <ref-index> [, <size-index>]) */
|
||||
+# define __attr_access(x) __attribute__ ((__access__ x))
|
||||
+/* For _FORTIFY_SOURCE == 3 we use __builtin_dynamic_object_size, which may
|
||||
+ use the access attribute to get object sizes from function definition
|
||||
+ arguments, so we can't use them on functions we fortify. Drop the object
|
||||
+ size hints for such functions. */
|
||||
+# if __USE_FORTIFY_LEVEL == 3
|
||||
+# define __fortified_attr_access(a, o, s) __attribute__ ((__access__ (a, o)))
|
||||
+# else
|
||||
+# define __fortified_attr_access(a, o, s) __attr_access ((a, o, s))
|
||||
+# endif
|
||||
+# if __GNUC_PREREQ (11, 0)
|
||||
+# define __attr_access_none(argno) __attribute__ ((__access__ (__none__, argno)))
|
||||
+# else
|
||||
+# define __attr_access_none(argno)
|
||||
+# endif
|
||||
+#else
|
||||
+# define __fortified_attr_access(a, o, s)
|
||||
+# define __attr_access(x)
|
||||
+# define __attr_access_none(argno)
|
||||
+#endif
|
||||
+
|
||||
+#if __GNUC_PREREQ (11, 0)
|
||||
+/* Designates dealloc as a function to call to deallocate objects
|
||||
+ allocated by the declared function. */
|
||||
+# define __attr_dealloc(dealloc, argno) \
|
||||
+ __attribute__ ((__malloc__ (dealloc, argno)))
|
||||
+# define __attr_dealloc_free __attr_dealloc (__builtin_free, 1)
|
||||
+#else
|
||||
+# define __attr_dealloc(dealloc, argno)
|
||||
+# define __attr_dealloc_free
|
||||
+#endif
|
||||
+
|
||||
+/* Specify that a function such as setjmp or vfork may return
|
||||
+ twice. */
|
||||
+#if __GNUC_PREREQ (4, 1)
|
||||
+# define __attribute_returns_twice__ __attribute__ ((__returns_twice__))
|
||||
+#else
|
||||
+# define __attribute_returns_twice__ /* Ignore. */
|
||||
+#endif
|
||||
+
|
||||
#endif /* sys/cdefs.h */
|
@ -1,7 +1,4 @@
|
||||
addFilter(".*W:.*patch-not-applied.*Patch1:.*man-db-2.6.3-man0.dif.*")
|
||||
addFilter(".*W:.*tmpfile-not-in-filelist.*/var/cache/man.*")
|
||||
addFilter(".*W:.*name-repeated-in-summary.*C.*man.*")
|
||||
addFilter(".*W:.*no-version-in-last-changelog.*")
|
||||
addFilter(".*W:.*permissions-incorrect-owner.*/var/cache/man/.*")
|
||||
addFilter(".*W:.*shared-lib-calls-exit.*/usr/lib.*/libman-2\.8\.4\.so.*")
|
||||
addFilter(".*W:.*suse-missing-rclink.*")
|
||||
# We use %posttrans
|
||||
addFilter(".*W:.*post-without-tmpfile-creation.*/usr/lib/tmpfiles\.d/man-db\.conf.*")
|
||||
addFilter(".*W:.*name-repeated-in-summary.*man.*")
|
||||
addFilter(".*E:.*missing-call-to-setgroups-before-setuid.*/usr/lib64/libman-.*\.so.*")
|
||||
|
17
man.changes
17
man.changes
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 11 11:55:04 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add patch gnulib-ppc64le.patch
|
||||
* Support ppc64le float128 transition
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 11 08:56:58 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Drop usage of update-alternatives as mandoc does not use it
|
||||
(nor libalternative)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 7 12:17:53 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- switch source url to https
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 6 11:41:21 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
|
90
man.spec
90
man.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package man
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,6 +22,8 @@
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||
%endif
|
||||
%define add_optflags(a:f:t:p:w:W:d:g:O:A:C:D:E:H:i:M:n:P:U:u:l:s:X:B:I:L:b:V:m:x:c:S:E:o:v:) \
|
||||
%global optflags %{optflags} %{**}
|
||||
%bcond_without sdtimer
|
||||
Name: man
|
||||
Version: 2.9.4
|
||||
@ -31,7 +33,7 @@ License: GPL-2.0-or-later
|
||||
Group: System/Base
|
||||
URL: https://savannah.nongnu.org/projects/man-db
|
||||
Source0: https://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz
|
||||
Source1: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz.asc
|
||||
Source1: https://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz.asc
|
||||
Source2: https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=man-db&download=1#/%{name}.keyring
|
||||
Source3: sysconfig.cron-man
|
||||
Source4: cron.daily.do_mandb
|
||||
@ -52,12 +54,14 @@ Patch5: man-db-2.6.3-listall.dif
|
||||
Patch6: reproducible.patch
|
||||
# PATCH-FIX-OPENSUSE man-db-2.9.4-no-chown.patch -- chown is not allowed as non-root
|
||||
Patch7: man-db-2.9.4-no-chown.patch
|
||||
# what is it good for?
|
||||
# PATCH-FIX-SUSE collections of changes
|
||||
Patch8: man-db-2.9.4.patch
|
||||
# PATCH-FEATURE-OPENSUSE -- Add documentation about man0 section (header files)
|
||||
Patch9: man-db-2.6.3-man0.dif
|
||||
Patch10: man-db-2.9.4-alternitive.dif
|
||||
Patch11: harden_man-db.service.patch
|
||||
# PATCH-FIX-SUSE ppc64le float128 transition
|
||||
Patch12: gnulib-ppc64le.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: flex
|
||||
BuildRequires: gdbm-devel
|
||||
@ -71,21 +75,18 @@ BuildRequires: libzio-devel
|
||||
BuildRequires: man-pages
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: po4a
|
||||
BuildRequires: update-alternatives
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: zstd
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Conflicts: mandoc
|
||||
Requires: glibc-locale-base
|
||||
Suggests: glibc-locale
|
||||
Requires: groff >= 1.18
|
||||
Requires: less
|
||||
Requires: libalternatives1
|
||||
# FIXME: use proper Requires(pre/post/preun/...)
|
||||
PreReq: coreutils
|
||||
PreReq: fillup
|
||||
Requires(post): update-alternatives
|
||||
Requires(posttrans):systemd
|
||||
Requires(postun):update-alternatives
|
||||
Requires(pre): group(man)
|
||||
Requires(pre): user(man)
|
||||
Provides: man_db
|
||||
@ -112,6 +113,9 @@ printer (using groff).
|
||||
%patch10 -b .libalernative
|
||||
rm -f configure
|
||||
%patch11 -p1
|
||||
%ifarch ppc64le
|
||||
%patch12
|
||||
%endif
|
||||
|
||||
%build
|
||||
%global optflags %{optflags} -funroll-loops -pipe -Wall
|
||||
@ -139,19 +143,13 @@ SEC=(0 1 n l 8 3 2 5 4 9 6 7
|
||||
Cg g s m
|
||||
)
|
||||
SEC="${SEC[@]}"
|
||||
if grep -q _DEFAULT_SOURCE %{_includedir}/features.h ; then
|
||||
CFLAGS="%{optflags} -D_GNU_SOURCE -D_DEFAULT_SOURCE"
|
||||
else
|
||||
CFLAGS="%{optflags} -D_GNU_SOURCE -D_SVID_SOURCE"
|
||||
fi
|
||||
for d in $(cat man/LINGUAS*) ; do
|
||||
test -d %{_datadir}/locale/$d || continue
|
||||
LINGUAS="${LINGUAS:+$LINGUAS }$d"
|
||||
done
|
||||
|
||||
LIBS="-lalternatives"
|
||||
export LINGUAS LIBS
|
||||
|
||||
export CFLAGS LINGUAS LIBS
|
||||
# Create configure
|
||||
aclocal -I ${PWD} -I ${PWD}/m4 -I ${PWD}/gl/m4
|
||||
autoconf -B ${PWD} -B ${PWD}/m4 -B ${PWD}/gl/m4
|
||||
@ -159,6 +157,7 @@ automake --add-missing
|
||||
find -name 'Makefile.*' | xargs \
|
||||
sed -ri -e '/^pkglibdir/{ s@^(pkglibdir[[:blank:]]+=[[:blank:]]+\$\(libdir\)).*@\1@p }'
|
||||
# Configure
|
||||
%add_optflags -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500
|
||||
%configure \
|
||||
%if %{without sdtimer}
|
||||
--with-systemdtmpfilesdir=no \
|
||||
@ -218,34 +217,19 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
# Move manual
|
||||
mkdir -p %{buildroot}%{_docdir}
|
||||
mv %{buildroot}%{_datadir}/doc/man-db %{buildroot}%{_docdir}/man/
|
||||
# wrapper which drops roots privileges if root executes man or mandb
|
||||
mv -vf %{buildroot}%{_bindir}/man %{buildroot}%{_libexecdir}/man-db/
|
||||
# wrapper which drops roots privileges if root executes mandb
|
||||
mv -vf %{buildroot}%{_bindir}/mandb %{buildroot}%{_libexecdir}/man-db/
|
||||
rm -vf %{buildroot}%{_bindir}/apropos
|
||||
mv -vf %{buildroot}%{_bindir}/whatis %{buildroot}%{_libexecdir}/man-db/
|
||||
install -D -m 0755 wrapper %{buildroot}%{_libexecdir}/man-db/
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/alternatives
|
||||
ln -sf %{_libexecdir}/man-db/wrapper %{buildroot}%{_sysconfdir}/alternatives/man
|
||||
ln -sf %{_libexecdir}/man-db/wrapper %{buildroot}%{_bindir}/mandb
|
||||
ln -sf %{_libexecdir}/man-db/whatis %{buildroot}%{_sysconfdir}/alternatives/apropos
|
||||
ln -sf %{_libexecdir}/man-db/whatis %{buildroot}%{_sysconfdir}/alternatives/whatis
|
||||
ln -sf %{_sysconfdir}/alternatives/man %{buildroot}%{_bindir}/man
|
||||
ln -sf %{_sysconfdir}/alternatives/apropos %{buildroot}%{_bindir}/apropos
|
||||
ln -sf %{_sysconfdir}/alternatives/whatis %{buildroot}%{_bindir}/whatis
|
||||
# Fix man pages
|
||||
pushd %{buildroot}%{_mandir}/
|
||||
rm -rf *.ascii/
|
||||
for d in *.UTF-8 ; do
|
||||
find -name '*.[1-9nlop]' | xargs gzip -9f
|
||||
done
|
||||
for d in `find -name manpath.5%{?ext_man} -printf '%%h '` ; do
|
||||
for d in $(find -name manpath.5%{?ext_man} -printf '%%h ') ; do
|
||||
ln -sf manpath.5%{?ext_man} $d/manpath.config.5%{?ext_man}
|
||||
done
|
||||
for man in apropos man whatis; do
|
||||
mv man1/${man}.1%{?ext_man} man1/${man}-db.1%{?ext_man}
|
||||
ln -sf %{_sysconfdir}/alternatives/${man}.1%{?ext_man} man1/${man}.1%{?ext_man}
|
||||
ln -sf %{_mandir}/man1/${man}-db.1%{?ext_man} %{buildroot}%{_sysconfdir}/alternatives/${man}.1%{?ext_man}
|
||||
done
|
||||
# remove japanese pages, as they are in man-pages-ja
|
||||
# (need to cross verify at some point that they are up to date there)
|
||||
rm -rf ja
|
||||
@ -286,6 +270,21 @@ test -d var/catman/ && rm -rf var/catman/ || true
|
||||
%service_add_pre man-db-create.service
|
||||
%endif
|
||||
%endif
|
||||
if test "$1" > 0 -a -h %{_sysconfdir}/alternatives/man
|
||||
then
|
||||
for ua in man apropos whatis man.1%{ext_man} apropos.1%{ext_man} whatis.1%{ext_man}
|
||||
do
|
||||
rm -f %{_sysconfdir}/alternatives/$ua
|
||||
case "$ua" in
|
||||
*.1*)
|
||||
rm -f %{_mandir}/man1/$ua
|
||||
;;
|
||||
*)
|
||||
rm -f %{_bindir}/$ua
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
%post
|
||||
%{fillup_only -an cron}
|
||||
@ -296,24 +295,6 @@ test -d var/catman/ && rm -rf var/catman/ || true
|
||||
%service_add_post man-db.service man-db.timer
|
||||
%endif
|
||||
%endif
|
||||
# Remark: soelim(1) is part of package groff or mandoc and
|
||||
# makewhatis(8) is part of package makewhat or mandoc
|
||||
%{_sbindir}/update-alternatives --quiet --force \
|
||||
--install %{_bindir}/man man %{_libexecdir}/man-db/wrapper 1010 \
|
||||
--slave %{_bindir}/apropos apropos %{_libexecdir}/man-db/whatis \
|
||||
--slave %{_bindir}/whatis whatis %{_libexecdir}/man-db/whatis \
|
||||
--slave %{_mandir}/man1/man.1%{?ext_man} man.1%{?ext_man} %{_mandir}/man1/man-db.1%{?ext_man} \
|
||||
--slave %{_mandir}/man1/apropos.1%{?ext_man} apropos.1%{?ext_man} %{_mandir}/man1/apropos-db.1%{?ext_man} \
|
||||
--slave %{_mandir}/man1/whatis.1%{?ext_man} whatis.1%{?ext_man} %{_mandir}/man1/whatis-db.1%{?ext_man}
|
||||
|
||||
# Old man packages did not apply the proper update-alternatives calls to ensure
|
||||
# alternative path move. As a result, the alternative path move induced by
|
||||
# libexecdir move breaks man wrapper (boo#1175919). Hence the following migration
|
||||
# code for upgrades from Leap 15.2 or Tumbleweed snapshots older than 20200826.
|
||||
# To be removed when support for upgrades from Leap 15.2 is dropped (dec. 2021).
|
||||
if [ %{_libexecdir} != %{_prefix}/lib ] && [ -f %{_prefix}/lib/man-db/wrapper ] ; then
|
||||
update-alternatives --quiet --remove man %{_prefix}/lib/man-db/wrapper
|
||||
fi
|
||||
|
||||
%preun
|
||||
%if %{with sdtimer}
|
||||
@ -331,9 +312,6 @@ fi
|
||||
%service_del_postun man-db.service man-db.timer
|
||||
%endif
|
||||
%endif
|
||||
if [ ! -f %{_libexecdir}/man-db/wrapper ] ; then
|
||||
update-alternatives --quiet --remove man %{_libexecdir}/man-db/wrapper
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
%{?tmpfiles_create:%tmpfiles_create %{_prefix}/lib/tmpfiles.d/man-db.conf}
|
||||
@ -350,12 +328,6 @@ fi
|
||||
%if 0%{?suse_version} < 1500
|
||||
%attr(0744,root,root) %{_sysconfdir}/cron.daily/suse-do_mandb
|
||||
%endif
|
||||
%ghost %{_sysconfdir}/alternatives/man
|
||||
%ghost %{_sysconfdir}/alternatives/apropos
|
||||
%ghost %{_sysconfdir}/alternatives/whatis
|
||||
%ghost %{_sysconfdir}/alternatives/man.1%{ext_man}
|
||||
%ghost %{_sysconfdir}/alternatives/apropos.1%{ext_man}
|
||||
%ghost %{_sysconfdir}/alternatives/whatis.1%{ext_man}
|
||||
%dir %{_prefix}/etc/profile.d/
|
||||
%{_prefix}/etc/profile.d/manpath.*
|
||||
%{_bindir}/apropos
|
||||
@ -367,8 +339,6 @@ fi
|
||||
%{_bindir}/man-recode
|
||||
%{_bindir}/whatis
|
||||
%dir %attr(0755,root,root) %{_libexecdir}/man-db
|
||||
%attr(0755,root,root) %{_libexecdir}/man-db/man
|
||||
%attr(0755,root,root) %{_libexecdir}/man-db/whatis
|
||||
%attr(0755,root,root) %{_libexecdir}/man-db/mandb
|
||||
%attr(0755,root,root) %{_libexecdir}/man-db/manconv
|
||||
%attr(0755,root,root) %{_libexecdir}/man-db/globbing
|
||||
|
Loading…
Reference in New Issue
Block a user