From 8a1c14be105ae861ee94849acca4e6f88530a95e Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 18 Aug 2006 11:28:17 +0000 Subject: Renamed the spec file. --- contrib/rtemsrpms/Makefile.am | 2 +- contrib/rtemsrpms/configure.ac | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/contrib/rtemsrpms/Makefile.am b/contrib/rtemsrpms/Makefile.am index 2f2ebfe4b7..482d3867f0 100644 --- a/contrib/rtemsrpms/Makefile.am +++ b/contrib/rtemsrpms/Makefile.am @@ -10,7 +10,7 @@ all: export PATH=$(prefix)/bin:$$PATH; \ for t in $(TARGETS) ; \ do \ - rpmbuild -v $(RPMDBPATH) -ba $(srcdir)/rtems.specs --target=$$t-rtems$(RTEMS_API) ; \ + rpmbuild -v $(RPMDBPATH) -ba $(srcdir)/rtems.spec --target=$$t-rtems$(RTEMS_API) ; \ if [ $$? -ne 0 ]; then \ exit 1 ; \ fi \ diff --git a/contrib/rtemsrpms/configure.ac b/contrib/rtemsrpms/configure.ac index 828fd6c3c8..42ff6aaec3 100644 --- a/contrib/rtemsrpms/configure.ac +++ b/contrib/rtemsrpms/configure.ac @@ -29,7 +29,6 @@ case "$prefix" in ;; NONE|$ac_default_prefix) prefix=$ac_default_prefix - rpmprefix="rtems-" ;; *) rpmprefix="custom-" @@ -57,10 +56,9 @@ AC_ARG_ENABLE([rpmdbpath], no) # use default ;; *) # presume user knows what he is doing - rpmdbpath=$enable_rpmdbpath;; + rpmdbpath="--dbpath $enable_rpmdbpath";; esac ]) -rpmdbpath="--dbpath $rpmdbpath" bootstrap=no AC_ARG_ENABLE([bootstrap], @@ -80,10 +78,10 @@ AC_ARG_ENABLE([bsps], yes) # ignore, use default ;; no) - bsps="RTEMS_BSPS=\"\"" + bsps="RTEMS_BSP=\"\"" ;; *) # take a the list to build - bsps="RTEMS_BSPS=\"$enable_bsps\"" + bsps="RTEMS_BSP=\"$enable_bsps\"" ;; esac ]) @@ -95,8 +93,8 @@ AC_SUBST(TARGETS, [$targets]) AC_SUBST(RPMPREFIX, [$rpmprefix]) AC_SUBST(RPMDBPATH, [$rpmdbpath]) AC_SUBST(RTEMS_BOOTSTRAP, [$bootstrap]) -AC_SUBST(RTEMS_BSPS, [$bsps]) +AC_SUBST(RTEMS_BSP, [$bsps]) -AC_CONFIG_FILES([Makefile rtems.specs]) +AC_CONFIG_FILES([Makefile rtems.spec]) AC_OUTPUT -- cgit v1.2.3