mirror of
https://github.com/ben-grande/qusal.git
synced 2025-12-10 14:15:44 -05:00
fix: build RPM contained in spec definitions
The spec-build.sh was necessary for a proper build, but it is not correct to depend on external scripts to generate the correct RPM_BUILD_ROOT files. Now everything is contained in the spec file. The spec-build.sh can be used in the future to automate the process of copying sources to the specified directory and signing, but not modifying the sources contents on a per file basis. For: https://github.com/ben-grande/qusal/issues/59
This commit is contained in:
parent
f5528fec2e
commit
e2791139ee
59 changed files with 1182 additions and 542 deletions
|
|
@ -72,6 +72,7 @@ gen_spec(){
|
|||
project_name="$(get_spec project)"
|
||||
version="$(get_spec version)"
|
||||
license="$(get_spec license)"
|
||||
license_csv="$(get_spec license_csv)"
|
||||
vendor="$(get_spec vendor)"
|
||||
packager="$(get_spec packager)"
|
||||
url="$(get_spec url)"
|
||||
|
|
@ -101,6 +102,7 @@ gen_spec(){
|
|||
-e "s/@POSTUN_UNINSTALL@/${postun_uninstall}/" \
|
||||
-e "s/@POSTUN_UPGRADE@/${postun_upgrade}/" \
|
||||
-e "s|@FILE_ROOTS@|${file_roots}|" \
|
||||
-e "s/@NAME@/${project}/" \
|
||||
-e "s/@PROJECT@/${project_name}/" \
|
||||
-e "s/@VERSION@/${version}/" \
|
||||
-e "s/@SUMMARY@/${summary}/" \
|
||||
|
|
@ -108,6 +110,7 @@ gen_spec(){
|
|||
-e "s/@PACKAGER@/${packager}/" \
|
||||
-e "s/@VENDOR@/${vendor}/" \
|
||||
-e "s/@LICENSE@/${license}/" \
|
||||
-e "s/@LICENSE_CSV@/${license_csv}/" \
|
||||
-e "s|@BUG_URL@|${bug_url}|" \
|
||||
-e "s|@URL@|${url}|" \
|
||||
-e "s|@DESCRIPTION@|${description}|" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue