Add bootstrap macro

... and enable bootstrap for Python 3.5 rebuilds.

https://fedoraproject.org/wiki/Packaging:Guidelines#Bootstrapping
https://bugzilla.redhat.com/show_bug.cgi?id=1280209
This commit is contained in:
Kalev Lember 2015-11-11 13:22:17 +01:00
parent 66e2bcb0e8
commit 7bc76c803c

View File

@ -2,11 +2,14 @@
# 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$
# Avoid circular dependency on itself when bootstrapping
%{!?_with_bootstrap: %global bootstrap 1}
%bcond_without tests
Name: javapackages-tools
Version: 4.6.0
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Macros and scripts for Java packaging support
@ -27,8 +30,10 @@ BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: scl-utils-build
BuildRequires: dia
%if ! 0%{?bootstrap}
BuildRequires: javapackages-tools >= 4.0.0
BuildRequires: xmvn-resolve >= 2
%endif
Requires: coreutils
Requires: lua
@ -172,6 +177,10 @@ popd
%license LICENSE
%changelog
* Wed Nov 11 2015 Kalev Lember <klember@redhat.com> - 4.6.0-10
- Add bootstrap macro (#1280209)
- Enable bootstrap for Python 3.5 rebuilds
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.0-9
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5