diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-11-18 03:08:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-11-18 03:08:54 +0000 |
commit | 0ae5017609ef60e1fc12abf362fd3d731b173a6b (patch) | |
tree | d2c9dc43b3bd8ad1b49f4c1dd75e951ff63ec91a | |
parent | 520224693c300be6036610fbbc4acd246811719e (diff) |
Misc bug fixes.
-rw-r--r-- | contrib/repo-conf/configure.ac | 2 | ||||
-rw-r--r-- | contrib/repo-conf/rtems-repo-conf.spec.in | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/repo-conf/configure.ac b/contrib/repo-conf/configure.ac index 7ac6a2a93f..c3f41a2104 100644 --- a/contrib/repo-conf/configure.ac +++ b/contrib/repo-conf/configure.ac @@ -35,6 +35,8 @@ suse-*) yum_verdir="\$\$releasever" apt_verdir="\$\$(VERSION)" ;; +*) + AC_MSG_ERROR([Unsupported OS]) esac AC_SUBST([OS_SUBDIR],[$os_subdir]) diff --git a/contrib/repo-conf/rtems-repo-conf.spec.in b/contrib/repo-conf/rtems-repo-conf.spec.in index 26610f890c..cefff99e94 100644 --- a/contrib/repo-conf/rtems-repo-conf.spec.in +++ b/contrib/repo-conf/rtems-repo-conf.spec.in @@ -17,7 +17,7 @@ Apt/yum configuration files to access the apt/yum repositories at ftp://ftp.rtem %build case "%{?dist}" in -.el*) extra_arg=--enable-osname="redhat-%{rhel}";; +.el*) extra_arg=--enable-osname="centos-%{rhel}";; .fc*) extra_arg=--enable-osname="fedora-%{fedora}";; .suse*) extra_arg=--enable-osname="suse-%{suse}";; esac |