summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-12-14 15:35:50 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-12-14 15:35:50 (GMT)
commit326f168c02f47b332e432a41b01c714212ee94af (patch)
treecac69c9dab7030ed55ec4cab580be5793c07e643 /Makefile.am
parentb575e2a34d26977883192292b055fd1a8ae8355b (diff)
downloadpatchelf-326f168c02f47b332e432a41b01c714212ee94af.zip
patchelf-326f168c02f47b332e432a41b01c714212ee94af.tar.gz
patchelf-326f168c02f47b332e432a41b01c714212ee94af.tar.bz2
Use underscores in versions to keep RPM happy
RPM doesn't allow dashes in version numbers, so use an underscore instead. Also, let Autoconf generate the RPM spec file.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 56942b6..170bde7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,9 +1,6 @@
SUBDIRS = src tests
-EXTRA_DIST = COPYING README patchelf.spec patchelf.spec.in version $(man1_MANS)
-
-patchelf.spec: patchelf.spec.in
- sed -e "s^@version\@^$(VERSION)^g" < patchelf.spec.in > patchelf.spec
+EXTRA_DIST = COPYING README patchelf.spec version $(man1_MANS)
man1_MANS = patchelf.1