File use-grub2-as-a-package-name.patch of Package grub2

From 3729b131ef1dcaa043242e8074418249695d381b Mon Sep 17 00:00:00 2001
From: Jiri Slaby <jirislaby@gmail.com>
Date: Sun, 24 Jun 2012 20:51:52 +0200
Subject: [PATCH] use grub2 as a package name

This will ease all of the renaming of directories and all the pkgdata
hacks.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
 configure    |   24 ++++++++++++------------
 configure.ac |    2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/configure b/configure
index 50e6bf6..544c16a 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for GRUB 2.00.
+# Generated by GNU Autoconf 2.68 for GRUB2 2.00.
 #
 # Report bugs to <bug-grub@gnu.org>.
 #
@@ -558,10 +558,10 @@ MFLAGS=
 MAKEFLAGS=
 
 # Identity of this package.
-PACKAGE_NAME='GRUB'
-PACKAGE_TARNAME='grub'
+PACKAGE_NAME='GRUB2'
+PACKAGE_TARNAME='grub2'
 PACKAGE_VERSION='2.00'
-PACKAGE_STRING='GRUB 2.00'
+PACKAGE_STRING='GRUB2 2.00'
 PACKAGE_BUGREPORT='bug-grub@gnu.org'
 PACKAGE_URL=''
 
@@ -1904,7 +1904,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GRUB 2.00 to adapt to many kinds of systems.
+\`configure' configures GRUB2 2.00 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1952,7 +1952,7 @@ Fine tuning of the installation directories:
   --infodir=DIR           info documentation [DATAROOTDIR/info]
   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   --mandir=DIR            man documentation [DATAROOTDIR/man]
-  --docdir=DIR            documentation root [DATAROOTDIR/doc/grub]
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/grub2]
   --htmldir=DIR           html documentation [DOCDIR]
   --dvidir=DIR            dvi documentation [DOCDIR]
   --pdfdir=DIR            pdf documentation [DOCDIR]
@@ -1975,7 +1975,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GRUB 2.00:";;
+     short | recursive ) echo "Configuration of GRUB2 2.00:";;
    esac
   cat <<\_ACEOF
 
@@ -2108,7 +2108,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-GRUB configure 2.00
+GRUB2 configure 2.00
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2812,7 +2812,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by GRUB $as_me 2.00, which was
+It was created by GRUB2 $as_me 2.00, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -3789,7 +3789,7 @@ fi
 
 
 # Define the identity of the package.
- PACKAGE='grub'
+ PACKAGE='grub2'
  VERSION='2.00'
 
 
@@ -23344,7 +23344,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by GRUB $as_me 2.00, which was
+This file was extended by GRUB2 $as_me 2.00, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -23414,7 +23414,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-GRUB config.status 2.00
+GRUB2 config.status 2.00
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.ac b/configure.ac
index 1b5132c..5ea7ffe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ dnl type, so there is no conflict. Variables with the prefix "TARGET_"
 dnl (such as TARGET_CC, TARGET_CFLAGS, etc.) are used for the target
 dnl type.
 
-AC_INIT([GRUB],[2.00],[bug-grub@gnu.org])
+AC_INIT([GRUB2],[2.00],[bug-grub@gnu.org])
 
 AC_CONFIG_AUX_DIR([build-aux])
 
-- 
1.7.10.4

openSUSE Build Service is sponsored by