- export PACKAGE_DISTRIBUTION="suse" for build; (bsc#1123311).

OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=74
This commit is contained in:
David Disseldorp 2019-02-06 14:22:46 +00:00 committed by Git OBS Bridge
parent 2a4488bce9
commit 39af90dafd
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 6 14:21:04 UTC 2019 - ddiss@suse.com
- export PACKAGE_DISTRIBUTION="suse" for build; (bsc#1123311).
-------------------------------------------------------------------
Thu Jan 31 12:58:08 UTC 2019 - ddiss@suse.com

View File

@ -2136,6 +2136,10 @@ autoconf
rm -Rf $RPM_BUILD_ROOT
%build
%if 0%{?suse_version}
# in case we're building without os-release (bsc#1123311)...
export PACKAGE_DISTRIBUTION="suse"
%endif
PCP_CFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" CCFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %configure \
--with-tmpdir=%{_tempsdir} \
--datarootdir=%{_datadir} \