diff options
Diffstat (limited to 'contrib/crossrpms/autotools/automake.add')
-rw-r--r-- | contrib/crossrpms/autotools/automake.add | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/crossrpms/autotools/automake.add b/contrib/crossrpms/autotools/automake.add index a9fe0126a1..2d3cace242 100644 --- a/contrib/crossrpms/autotools/automake.add +++ b/contrib/crossrpms/autotools/automake.add @@ -3,8 +3,8 @@ %define amvers 1.10 %if "%{_prefix}" != "/usr" -%define name @rpmprefix@automake-rtems -%define requirements @rpmprefix@autoconf-rtems >= 2.60 +%define name @rpmprefix@automake +%define requirements @rpmprefix@autoconf >= 2.60 %else %define name automake %define requirements autoconf >= 2.60 @@ -18,6 +18,11 @@ Version: %{rpmvers} Release: @AUTOMAKE_RPMREL@%{?dist} 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) BuildArch: noarch BuildRequires: %{requirements} perl help2man |