summaryrefslogtreecommitdiffstats
path: root/patchelf.spec.in
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 /patchelf.spec.in
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 'patchelf.spec.in')
-rw-r--r--patchelf.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/patchelf.spec.in b/patchelf.spec.in
index 627f390..7c51bea 100644
--- a/patchelf.spec.in
+++ b/patchelf.spec.in
@@ -1,13 +1,13 @@
Summary: A utility for patching ELF binaries
Name: patchelf
-Version: @version@
+Version: @PACKAGE_VERSION@
Release: 1
License: GPL
Group: Development/Tools
URL: http://nixos.org/patchelf.html
-Source0: %{name}-@version@.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
+Source0: %{name}-@PACKAGE_VERSION@.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-buildroot
Prefix: /usr
%description