summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2009-06-02 08:38:40 +0000
committerDmitry V. Levin <ldv@altlinux.org>2009-06-02 08:38:40 +0000
commitfe12be91cc3b74487e71e5399b7dcfdd978fcbea (patch)
treef5339fc9e485e54b599b35c141ad34222a04ff19
parent9325912f6acdeb200e0eeee897e845c6e2c24fb6 (diff)
downloadelfutils-fe12be91cc3b74487e71e5399b7dcfdd978fcbea.tar.gz
Remove flex-generated files
-rw-r--r--elfutils.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/elfutils.spec b/elfutils.spec
index d6c2a414..d15c9701 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -81,7 +81,13 @@ object file format, so you can see the different sections of an ELF file.
%setup -q
%patch1 -p1
%patch2 -p1
-sed -i 's/ -Werror / /' tests/Makefile*
+
+# Remove flex-generated files.
+rm libcpu/i386_lex.c src/ldlex.c
+
+# Disable -Werror for a while.
+#sed -i 's/ -Werror / /' tests/Makefile*
+
bzip2 -9k NEWS
find -type f -name \*.sh -not -perm -0100 -print0 |
xargs -r0 chmod +x --