forked from pool/glibc
afa4a7c1c8
Cleanup; add nscd systemd config files. OBS-URL: https://build.opensuse.org/request/show/75602 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=78
19 lines
689 B
Diff
19 lines
689 B
Diff
This is required for too noisy rpmlint:
|
|
glibc.i586: E: hardlink-across-partition (Badness: 10000) /usr/lib/getconf/POSIX_V7_ILP32_OFFBIG /usr/bin/getconf
|
|
|
|
|
|
Index: posix/Makefile
|
|
===================================================================
|
|
--- posix/Makefile.orig
|
|
+++ posix/Makefile
|
|
@@ -298,8 +298,7 @@ $(inst_libexecdir)/getconf: $(inst_bindi
|
|
$(addprefix $(..)./scripts/mkinstalldirs ,\
|
|
$(filter-out $(wildcard $@),$@))
|
|
while read spec; do \
|
|
- ln -f $< $@/$$spec.new || $(INSTALL_PROGRAM) $< $@/$$spec.new; \
|
|
- mv -f $@/$$spec.new $@/$$spec; \
|
|
+ ln -s ../../bin/getconf $@/$$spec; \
|
|
done < $(objpfx)getconf.speclist
|
|
|
|
$(objpfx)getconf.speclist: $(objpfx)getconf
|