]> git.pld-linux.org Git - packages/rpm.git/commitdiff
added temporary (and ugly) workaround for automake. STB.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 26 Jan 2001 10:49:20 +0000 (10:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.162

rpm.spec

index 1fb0a212227263153f97f0f64470e6566f35d19e..304b3fc0972956c72cd28b20f77ad3859bfcd015 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -219,7 +219,14 @@ autoheader
 
 autoheader
 autoconf
+# ugly workaround for automake
+sed -e 's#cpio.c $(DBLIBOBJS) depends.c#cpio.c depends.c#g' \
+       lib/Makefile.am > lib/Makefile.am.new
+mv lib/Makefile.am.new lib/Makefile.am
 automake -a -c
+sed -e 's#cpio.c depends.c#cpio.c $(DBLIBOBJS) depends.c#g' \
+       lib/Makefile.in > lib/Makefile.in.new
+mv lib/Makefile.in.new lib/Makefile.in
 %configure \
        sed 's|@host_cpu@|%{_target_cpu}|' > macros.tmp
        --enable-v1-packages
This page took 0.052857 seconds and 4 git commands to generate.