Disable bytecode compilation outside of site-packages
This commit is contained in:
parent
e144c6b9ca
commit
9aa42bcd4a
@ -2,6 +2,10 @@
|
||||
# provided pseudo-artifacts: com.sun:tools and sun.jdk:jconsole.
|
||||
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}/maven-metadata/javapackages-metadata.xml$
|
||||
|
||||
# Disable automatic bytecode compilation for files in java-utils
|
||||
# https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
|
||||
%global _python_bytecompile_extra 0
|
||||
|
||||
%bcond_without asciidoc
|
||||
%bcond_without gradle
|
||||
%bcond_without tests
|
||||
@ -21,7 +25,7 @@
|
||||
|
||||
Name: javapackages-tools
|
||||
Version: 5.2.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
Summary: Macros and scripts for Java packaging support
|
||||
|
||||
@ -170,7 +174,7 @@ sed -i '/${mandir}/d' install
|
||||
%if %{with xmvn_javadoc}
|
||||
sed -i 's|mvn_build.py|& --xmvn-javadoc|' $(find %{buildroot} -name 'macros*.fjava')
|
||||
%endif
|
||||
sed -e 's/.[17]$/&*/' -e 's/.py$/&*/' -i files-*
|
||||
sed -e 's/.[17]$/&*/' -i files-*
|
||||
|
||||
%if %{without gradle}
|
||||
rm -rf %{buildroot}%{_bindir}/gradle-local
|
||||
@ -203,6 +207,9 @@ rm -rf %{buildroot}%{_mandir}/man7/gradle_build.7
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon Jun 25 2018 Michael Simacek <msimacek@redhat.com> - 5.2.0-3
|
||||
- Disable bytecode compilation outside of site-packages
|
||||
|
||||
* Wed Jun 20 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.2.0-2
|
||||
- Fix running tests on Python 3.7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user