- only refer to Python binary symbolically, drop buildroot cleanup
Regarding the latter: https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections https://en.opensuse.org/openSUSE:Specfile_guidelines#Removing_the_buildroot Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
parent
8af47f5d86
commit
e2d2c7d7f2
@ -109,11 +109,10 @@ sed -i.orig 's|FENCE_ZVM=|FENCE_ZVM_PREVENTED=|' configure.ac
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
export PYTHON="/usr/bin/python3" %{configure}
|
export PYTHON="%{__python3}" %{configure}
|
||||||
CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
|
CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
# bytecompile Python source code in a non-standard location
|
# bytecompile Python source code in a non-standard location
|
||||||
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/fence
|
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/fence
|
||||||
@ -954,6 +953,7 @@ The fence-agents-zvm package contains a fence agent for IBM z/VM over IP.
|
|||||||
#- sanitize allfenceagents internally defined enumeration
|
#- sanitize allfenceagents internally defined enumeration
|
||||||
#- sanitize BuildRequires with respect to packaging guidelines
|
#- sanitize BuildRequires with respect to packaging guidelines
|
||||||
#- bytecompile native Python modules and ship these bytecodes properly
|
#- bytecompile native Python modules and ship these bytecodes properly
|
||||||
|
#- only refer to Python binary symbolically, drop buildroot cleanup
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user