From 6dae02b4a8f5bbce2b56138dd404f4e51a3712ec Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 21 Jul 2009 12:33:19 +0000 Subject: Sync with rtems-4.10. --- contrib/crossrpms/rtems4.8/binutils.am | 2 +- contrib/crossrpms/rtems4.8/gcc.am | 4 +++- contrib/crossrpms/rtems4.8/gdb.am | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/crossrpms/rtems4.8/binutils.am b/contrib/crossrpms/rtems4.8/binutils.am index bf0539e77f..93578ea74a 100644 --- a/contrib/crossrpms/rtems4.8/binutils.am +++ b/contrib/crossrpms/rtems4.8/binutils.am @@ -18,7 +18,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am $(srcdir)/binuti -e "/[@]SOURCES[@]/d" \ -e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \ -e "s/[@]BINUTILS_PKGVERS[@]/$(BINUTILS_PKGVERS)/g" \ - -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \ + -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)%{?dist}/g" \ -e "/--with-sysroot/d" \ | $(MKSPEC0) > $(TARGET)-binutils.spec.in CLEANFILES += $(TARGET)-binutils.spec.in diff --git a/contrib/crossrpms/rtems4.8/gcc.am b/contrib/crossrpms/rtems4.8/gcc.am index 887941f135..66cf59b8d0 100644 --- a/contrib/crossrpms/rtems4.8/gcc.am +++ b/contrib/crossrpms/rtems4.8/gcc.am @@ -27,8 +27,10 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add -e "/[@]PREP[@]/d" \ -e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \ -e "s/[@]GCC_PKGVERS[@]/$(GCC_PKGVERS)/g" \ - -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \ + -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)%{?dist}/g" \ -e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \ + -e "s/[@]NEWLIB_PKGVERS[@]/$(NEWLIB_PKGVERS)/g" \ + -e "s/[@]NEWLIB_RPMREL[@]/$(NEWLIB_RPMREL)%{?dist}/g" \ -e "/--with-sysroot/d" \ -e "/[@]tool_target[@]-sys-root/d" \ -e "/[@]tool_target[@]-w32api-sys-root/d" \ diff --git a/contrib/crossrpms/rtems4.8/gdb.am b/contrib/crossrpms/rtems4.8/gdb.am index fd6ac388b3..4b509c4547 100644 --- a/contrib/crossrpms/rtems4.8/gdb.am +++ b/contrib/crossrpms/rtems4.8/gdb.am @@ -18,7 +18,7 @@ $(TARGET)-gdb.spec.in: $(GDB_SUBPACKAGES) Makefile.am $(srcdir)/gdb-sources.add -e "/[@]SOURCES[@]/d" \ -e "s/[@]GDB_VERS[@]/$(GDB_VERS)/g" \ -e "s/[@]GDB_PKGVERS[@]/$(GDB_PKGVERS)/g" \ - -e "s/[@]GDB_RPMREL[@]/$(GDB_RPMREL)/g" \ + -e "s/[@]GDB_RPMREL[@]/$(GDB_RPMREL)%{?dist}/g" \ -e "/--with-sysroot/d" \ | $(MKSPEC0) > $(TARGET)-gdb.spec.in CLEANFILES += $(TARGET)-gdb.spec.in -- cgit v1.2.3