From 14179babffa88e121bb46f5d69ec29d5db0249f6 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 21 Feb 2006 08:14:06 +0000 Subject: [PATCH] Use $(MKSPEC) to generate *-w32api.spec. --- contrib/crossrpms/mingw32/Makefile.am | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/contrib/crossrpms/mingw32/Makefile.am b/contrib/crossrpms/mingw32/Makefile.am index 25372ae7d5..69eabcd293 100644 --- a/contrib/crossrpms/mingw32/Makefile.am +++ b/contrib/crossrpms/mingw32/Makefile.am @@ -45,11 +45,7 @@ $(TARGET)-w32api.spec.in: $(W32API_SUBPACKAGES) Makefile.am CLEANFILES += $(TARGET)-w32api.spec.in @rpmprefix@$(TARGET)-w32api.spec: $(TARGET)-w32api.spec.in - sed \ - -e "s,[@]rpmprefix[@],$(rpmprefix),g" \ - -e "s,[@]_prefix[@],$(prefix),g" \ - -e "s/[@]tool_target[@]/$(TARGET)/g" \ - $(srcdir)/$(TARGET)-w32api.spec.in > $@ + $(MKSPEC) $(srcdir)/$(TARGET)-w32api.spec.in > $@ CLEANFILES += @rpmprefix@$(TARGET)-w32api.spec noinst_DATA += @rpmprefix@$(TARGET)-w32api.spec