diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-14 15:35:50 (GMT) |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-14 15:35:50 (GMT) |
commit | 326f168c02f47b332e432a41b01c714212ee94af (patch) | |
tree | cac69c9dab7030ed55ec4cab580be5793c07e643 /patchelf.spec.in | |
parent | b575e2a34d26977883192292b055fd1a8ae8355b (diff) | |
download | patchelf-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.in | 6 |
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 |