From 9aa42bcd4a1e9f4289c1384409922aa51fbbfc89 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Jun 25 2018 12:36:51 +0000 Subject: Disable bytecode compilation outside of site-packages --- diff --git a/javapackages-tools.spec b/javapackages-tools.spec index f36b8c0..4e3969c 100644 --- a/javapackages-tools.spec +++ b/javapackages-tools.spec @@ -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 - 5.2.0-3 +- Disable bytecode compilation outside of site-packages + * Wed Jun 20 2018 Mikolaj Izdebski - 5.2.0-2 - Fix running tests on Python 3.7