Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

The .spec file needs to have the package name, version, and release h…

…ard-coded as few build tools give you the ability to pass these in on the command line when building from the SRPM. Added conditional directives to allow you to override the hard-coded values.
  • Loading branch information...
commit f6eba5391ba77b9e30f110134d1336894a1aa9f2 1 parent 941fac9
@rsiddall rsiddall authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 packaging/rpm/
4 packaging/rpm/
@@ -1,3 +1,7 @@
+%{!?_package:%define _package @PACKAGE@}
+%{!?_version:%define _version @VERSION@}
+%{!?_release:%define _release @RELEASE@}
Name: %{_package}
Version: %{_version}
Release: %{_release}
Please sign in to comment.
Something went wrong with that request. Please try again.