2022-05-05 04:55:08 +00:00
|
|
|
%bcond_with bootstrap
|
|
|
|
|
2022-05-04 14:10:55 +00:00
|
|
|
Name: extra-enforcer-rules
|
2023-08-17 17:18:10 +00:00
|
|
|
Version: 1.7.0
|
|
|
|
Release: 1%{?dist}
|
2022-05-04 14:10:55 +00:00
|
|
|
Summary: Extra rules for maven-enforcer-plugin
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/mojohaus/extra-enforcer-rules
|
|
|
|
BuildArch: noarch
|
2022-05-12 20:33:24 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2022-05-04 14:10:55 +00:00
|
|
|
|
2023-08-17 17:18:10 +00:00
|
|
|
Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/extra-enforcer-rules/%{version}/extra-enforcer-rules-%{version}-source-release.zip
|
2022-05-04 14:10:55 +00:00
|
|
|
|
2022-05-05 04:55:08 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2022-06-14 06:03:17 +00:00
|
|
|
BuildRequires: maven-local
|
2022-05-04 14:10:55 +00:00
|
|
|
BuildRequires: mvn(commons-codec:commons-codec)
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(org.apache.maven.enforcer:enforcer-api)
|
|
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters)
|
|
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree)
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-core)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
|
2023-08-17 17:18:10 +00:00
|
|
|
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
2022-05-04 14:10:55 +00:00
|
|
|
BuildRequires: mvn(org.mockito:mockito-core)
|
2022-05-05 04:55:08 +00:00
|
|
|
%endif
|
2022-05-04 14:10:55 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Apache's Maven Enforcer Plugin is used to apply and enforce rules on Maven
|
|
|
|
projects. The Enforcer plugin ships with a set of standard rules. This project
|
|
|
|
provides extra rules which are not part of the standard rule set.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
Javadoc for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2023-08-17 17:18:10 +00:00
|
|
|
%setup -q
|
2022-05-04 14:10:55 +00:00
|
|
|
|
|
|
|
# Integration tests fetch upstream poms
|
|
|
|
%pom_remove_plugin :maven-invoker-plugin
|
|
|
|
|
|
|
|
%build
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE.txt
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
%changelog
|
2023-08-17 17:18:10 +00:00
|
|
|
* Thu Aug 17 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.0-1
|
|
|
|
- Update to upstream version 1.7.0
|
|
|
|
|
2023-07-19 19:09:23 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 02:56:18 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 02:39:02 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-05-05 04:55:08 +00:00
|
|
|
* Thu May 05 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.1-2
|
|
|
|
- Implement bootstrap mode
|
|
|
|
|
2022-05-04 14:10:55 +00:00
|
|
|
* Mon May 02 2022 Marian Koncek <mkoncek@redhat.com> - 1.5.1-1
|
|
|
|
- Initial release
|