From dcab1561463dd7b5175f5101c2ca574b68d6b8a6 Mon Sep 17 00:00:00 2001 From: Packit Date: Aug 24 2020 12:39:22 +0000 Subject: Add sources defined in the spec file --- diff --git a/SPECS/autoconf-init.el b/SPECS/autoconf-init.el new file mode 100644 index 0000000..1c5725d --- /dev/null +++ b/SPECS/autoconf-init.el @@ -0,0 +1,16 @@ +;; Activate autoconf-mode + +;; Uncomment the following code if you feel that autoconf-mode.el does better +;; job than Emacs's default autoconf.el. + +;; (autoload 'autoconf-mode "autoconf-mode" +;; "Major mode for editing autoconf files." t) +;; (setq auto-mode-alist +;; (cons '("\.ac\'\|configure\.in\'" . autoconf-mode) +;; auto-mode-alist)) + +;; Activate autotest-mode +(autoload 'autotest-mode "autotest-mode" + "Major mode for editing autotest files." t) +(setq auto-mode-alist + (cons '("\.at\'" . autotest-mode) auto-mode-alist)) diff --git a/SPECS/config.site b/SPECS/config.site new file mode 100644 index 0000000..5bea225 --- /dev/null +++ b/SPECS/config.site @@ -0,0 +1,29 @@ +# This is the config.site file to satisfy FHS defaults when installing below +# /usr. +# +# You may override this file by your config.site using the CONFIG_SITE env +# variable. +# +# Note: This file includes also RHEL/Fedora fix for installing libraries into +# "/lib/lib64" on 64bit systems. + +if test -n "$host"; then + # skip when cross-compiling + return 0 +fi + +if test "$prefix" = /usr \ + || { test "$prefix" = NONE && test "$ac_default_prefix" = /usr ; } +then + test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc + test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var + test "$localstatedir" = '${prefix}/var' && localstatedir=/var + + ARCH=`uname -m` + for i in x86_64 ppc64 s390x aarch64; do + if test $ARCH = $i; then + test "$libdir" = '${exec_prefix}/lib' && libdir='${exec_prefix}/lib64' + break + fi + done +fi