diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-11-03 12:20:30 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-11-03 12:22:45 +0100 |
commit | 13b76cced118be670b00d364a9f8c9f701462639 (patch) | |
tree | fdccf8b70c5120d7ebfc7b80bfa261ee5f678b2a /scripts/obs/data/build_rpm.sh | |
parent | c4df55dcfd81e6adb4585e8cb51bc8b1fd4bdbf7 (diff) |
obs: fix building rpms with man pages
Add the "%ext_man .gz" macro from OBS, so building rpms with man pages
does not fail with errors like:
File not found: /home/user/rpmbuild/BUILDROOT/osmo-ggsn-1.9.0.3.0d3b-0.x86_64/usr/share/man/man8/osmo-ggsn.8
Fixes: OS#5737
Change-Id: Ib6950fb46e9f94aabae98021b215f69838557045
Diffstat (limited to 'scripts/obs/data/build_rpm.sh')
-rwxr-xr-x | scripts/obs/data/build_rpm.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/obs/data/build_rpm.sh b/scripts/obs/data/build_rpm.sh index 39f49ee..3ade17e 100755 --- a/scripts/obs/data/build_rpm.sh +++ b/scripts/obs/data/build_rpm.sh @@ -19,6 +19,7 @@ spec="$(basename "$(find _temp/srcpkgs/"$PACKAGE" -name '*.spec')")" su "$BUILDUSER" -c "cp _temp/srcpkgs/$PACKAGE/$spec ~/rpmbuild/SPECS" su "$BUILDUSER" -c "cp _temp/srcpkgs/$PACKAGE/*.tar.* ~/rpmbuild/SOURCES" su "$BUILDUSER" -c "cp _temp/srcpkgs/$PACKAGE/rpmlintrc ~/rpmbuild/SOURCES" +su "$BUILDUSER" -c "cp /obs/data/rpmmacros ~/.rpmmacros" $yum_builddep "/home/$BUILDUSER/rpmbuild/SPECS/$spec" |