aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-15 11:01:46 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-15 11:01:46 +0200
commit7219a750ab0cc17d8d078e97af6a42a7ce01c0eb (patch)
treec1f349d65ec35fc6fb13355be79e8b9da82b28c0
parent7b843abbf4c463b15ff08c21744b9cd364903c76 (diff)
print expanded spec file before build
-rwxr-xr-xrpm-local/scripts/build_pkg_user.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm-local/scripts/build_pkg_user.sh b/rpm-local/scripts/build_pkg_user.sh
index e29e700..3dd9489 100755
--- a/rpm-local/scripts/build_pkg_user.sh
+++ b/rpm-local/scripts/build_pkg_user.sh
@@ -12,5 +12,9 @@ for i in "$distfiles/"*; do
cp "$i" "/home/user/rpmbuild/SOURCES/"
done
+
+# Print expanded spec file
+rpmspec -P $1.spec
+
# Build the package
rpmbuild -bb $1.spec