diff --git a/extra-enforcer-rules.spec b/extra-enforcer-rules.spec index e158718..13bd962 100644 --- a/extra-enforcer-rules.spec +++ b/extra-enforcer-rules.spec @@ -1,6 +1,8 @@ +%bcond_with bootstrap + Name: extra-enforcer-rules Version: 1.5.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extra rules for maven-enforcer-plugin License: ASL 2.0 URL: https://github.com/mojohaus/extra-enforcer-rules @@ -9,6 +11,9 @@ BuildArch: noarch Source0: https://github.com/mojohaus/extra-enforcer-rules/archive/refs/tags/extra-enforcer-rules-%{version}.tar.gz BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(commons-codec:commons-codec) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.maven.enforcer:enforcer-api) @@ -18,6 +23,7 @@ BuildRequires: mvn(org.apache.maven:maven-compat) BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) BuildRequires: mvn(org.mockito:mockito-core) +%endif %description Apache's Maven Enforcer Plugin is used to apply and enforce rules on Maven @@ -50,5 +56,8 @@ Javadoc for %{name}. %license LICENSE.txt %changelog +* Thu May 05 2022 Mikolaj Izdebski - 1.5.1-2 +- Implement bootstrap mode + * Mon May 02 2022 Marian Koncek - 1.5.1-1 - Initial release