summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/mingw32/Makefile.am6
1 files changed, 1 insertions, 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