File baselibs.conf of Package sap-locale

sap-locale
  targettype ia32 block
  targettype 64bit block
  +/usr/lib(64)?/gconv/gconv-modules\.d/
  targettype x86 obsoletes "sap-locale-32bit"
  targettype x86 provides "sap-locale-32bit"
  post "for l in %{_libdir}/gconv/gconv-modules; do"
  post "	# Regenerate the file - strip all below the autogen delimiter, then"
  post "	# restore the autogen part based on new contents"
  post "	sed -i -e '/^###X# /Q' "$l""
  post "	echo "###X# The following is autogenerated from extra files in the .d directory:" >>"$l""
  post "	cat "$l.d"/* >>"$l""
  post "done"
  post "iconvconfig-<extension>"
  post "exit 0"
  postun "for l in %{_libdir}/gconv/gconv-modules; do"
  postun "	# Regenerate the file - strip all below the autogen delimiter, then"
  postun "	# restore the autogen part based on new contents"
  postun "	sed -i -e '/^###X# /Q' "$l""
  postun "	[ -d "$l.d" ] || continue"
  postun "	echo "###X# The following is autogenerated from extra files in the .d directory:" >>"$l""
  postun "	cat "$l.d"/* >>"$l""
  postun "done"
  postun "iconvconfig-<extension>"
  postun "exit 0"
openSUSE Build Service is sponsored by