mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Rename automake-rtems into automake.
Rename autoconf-rtems into autoconf.
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
%define amvers 1.10
|
%define amvers 1.10
|
||||||
|
|
||||||
%if "%{_prefix}" != "/usr"
|
%if "%{_prefix}" != "/usr"
|
||||||
%define name @rpmprefix@automake-rtems
|
%define name @rpmprefix@automake
|
||||||
%define requirements @rpmprefix@autoconf-rtems >= 2.60
|
%define requirements @rpmprefix@autoconf >= 2.60
|
||||||
%else
|
%else
|
||||||
%define name automake
|
%define name automake
|
||||||
%define requirements autoconf >= 2.60
|
%define requirements autoconf >= 2.60
|
||||||
@@ -18,6 +18,11 @@ Version: %{rpmvers}
|
|||||||
Release: @AUTOMAKE_RPMREL@%{?dist}
|
Release: @AUTOMAKE_RPMREL@%{?dist}
|
||||||
Summary: Tool for automatically generating GNU style Makefile.in's
|
Summary: Tool for automatically generating GNU style Makefile.in's
|
||||||
|
|
||||||
|
%if "%{_prefix}" != "/usr"
|
||||||
|
Obsoletes: @rpmprefix@automake-rtems < %{version}-%{release}
|
||||||
|
Provides: @rpmprefix@automake-rtems = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: %{requirements} perl help2man
|
BuildRequires: %{requirements} perl help2man
|
||||||
|
|||||||
@@ -4,15 +4,15 @@ AUTOMAKE_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
|
|||||||
AUTOMAKE_SUBPACKAGES += $(top_srcdir)/common/clean.add
|
AUTOMAKE_SUBPACKAGES += $(top_srcdir)/common/clean.add
|
||||||
AUTOMAKE_SUBPACKAGES += $(top_srcdir)/autotools/target-automake.add
|
AUTOMAKE_SUBPACKAGES += $(top_srcdir)/autotools/target-automake.add
|
||||||
|
|
||||||
automake-rtems.spec.in: $(AUTOMAKE_SUBPACKAGES) Makefile.in
|
automake.spec.in: $(AUTOMAKE_SUBPACKAGES) Makefile.in
|
||||||
cat $(AUTOMAKE_SUBPACKAGES) | sed \
|
cat $(AUTOMAKE_SUBPACKAGES) | sed \
|
||||||
-e "s/[@]AUTOMAKE_RPMREL[@]/$(AUTOMAKE_RPMREL)/" > $@
|
-e "s/[@]AUTOMAKE_RPMREL[@]/$(AUTOMAKE_RPMREL)/" > $@
|
||||||
CLEANFILES += automake-rtems.spec.in
|
CLEANFILES += automake.spec.in
|
||||||
|
|
||||||
|
|
||||||
@rpmprefix@automake-rtems.spec: automake-rtems.spec.in
|
@rpmprefix@automake.spec: automake.spec.in
|
||||||
$(MKSPEC) automake-rtems.spec.in | $(SPECSTRIP) > $@
|
$(MKSPEC) automake.spec.in | $(SPECSTRIP) > $@
|
||||||
CLEANFILES += @rpmprefix@automake-rtems.spec
|
CLEANFILES += @rpmprefix@automake.spec
|
||||||
noinst_DATA += @rpmprefix@automake-rtems.spec
|
noinst_DATA += @rpmprefix@automake.spec
|
||||||
|
|
||||||
EXTRA_DIST += $(AUTOMAKE_SUBPACKAGES)
|
EXTRA_DIST += $(AUTOMAKE_SUBPACKAGES)
|
||||||
|
|||||||
Reference in New Issue
Block a user