diff options
| author | Endi S. Dewata <edewata@redhat.com> | 2017-06-01 08:22:48 +0200 |
|---|---|---|
| committer | Endi S. Dewata <edewata@redhat.com> | 2017-06-01 16:47:10 +0200 |
| commit | 0c5754a39f0bdd4c5390ea256f8d413fc94aaaba (patch) | |
| tree | 77a1549c024bd43e546ec02ce90def47c15dff13 /scripts/compose_pki_console_packages | |
| parent | 0984d8a114b326a75b2c32cd9da2b7dee23920bb (diff) | |
Removed hard-coded version numbers from compose scripts.
The compose scripts have been modified to use the version numbers
defined in the spec files.
https://pagure.io/dogtagpki/issue/2687
Change-Id: I9651e6239c34e38924fac1a3e7a1a1e6ad574b10
Diffstat (limited to 'scripts/compose_pki_console_packages')
| -rwxr-xr-x | scripts/compose_pki_console_packages | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/compose_pki_console_packages b/scripts/compose_pki_console_packages index 5618c13b1..52de22a0b 100755 --- a/scripts/compose_pki_console_packages +++ b/scripts/compose_pki_console_packages @@ -31,14 +31,14 @@ PKI_PWD=`pwd` ## PKI_CONSOLE="pki-console" -PKI_CONSOLE_VERSION="10.4.6" +PKI_SPECS_FILE="${PKI_DIR}/specs/${PKI_CONSOLE}.spec" +PKI_CONSOLE_VERSION="`rpmspec -P "${PKI_SPECS_FILE}" | grep '^Version:' | awk '{print $2;}'`" ## ## Establish the SOURCE files/directories of the 'pki-console' source directory ## -PKI_SPECS_FILE="${PKI_DIR}/specs/${PKI_CONSOLE}.spec" PKI_COMPONENT_LIST="test console" |
