| |
@@ -1,27 +1,33 @@
|
| |
Name: maven-shared-utils
|
| |
- Version: 3.2.1
|
| |
- Release: 0.7%{?dist}
|
| |
+ Version: 3.3.3
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Maven shared utility classes
|
| |
License: ASL 2.0
|
| |
- URL: http://maven.apache.org/shared/maven-shared-utils
|
| |
- BuildArch: noarch
|
| |
|
| |
- Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
| |
- # XXX temporary for maven upgrade
|
| |
- Patch0: 0001-Restore-compatibility-with-current-maven.patch
|
| |
+ URL: https://maven.apache.org/shared/maven-shared-utils
|
| |
+ Source0: https://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
| |
+
|
| |
+ # for compatibility with current maven versions
|
| |
+ Patch1: 0001-Restore-compatibility-with-current-maven.patch
|
| |
+
|
| |
+ BuildArch: noarch
|
| |
|
| |
BuildRequires: maven-local
|
| |
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
| |
BuildRequires: mvn(commons-io:commons-io)
|
| |
BuildRequires: mvn(junit:junit)
|
| |
- BuildRequires: mvn(org.apache.commons:commons-lang3)
|
| |
- BuildRequires: mvn(org.apache.maven:maven-core)
|
| |
BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
|
| |
BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
|
| |
+ BuildRequires: mvn(org.apache.maven:maven-core)
|
| |
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
| |
+ BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
| |
BuildRequires: mvn(org.fusesource.jansi:jansi)
|
| |
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
| |
|
| |
+ # explicitly add (transitive) commons-lang3 >= 3.11 dependency
|
| |
+ BuildRequires: mvn(org.apache.commons:commons-lang3) >= 3.11
|
| |
+
|
| |
+
|
| |
%description
|
| |
This project aims to be a functional replacement for plexus-utils in Maven.
|
| |
|
| |
@@ -29,32 +35,46 @@
|
| |
improvements: lots of methods got cleaned up, generics got added and we dropped
|
| |
a lot of unused code.
|
| |
|
| |
+
|
| |
%package javadoc
|
| |
Summary: Javadoc for %{name}
|
| |
|
| |
%description javadoc
|
| |
API documentation for %{name}.
|
| |
|
| |
- %prep
|
| |
- %setup -q
|
| |
|
| |
- %patch0 -p1
|
| |
+ %prep
|
| |
+ %autosetup -p1
|
| |
|
| |
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
|
| |
|
| |
+ # commons-text is not packaged for fedora yet
|
| |
+ %pom_remove_dep :commons-text
|
| |
+ rm src/test/java/org/apache/maven/shared/utils/CaseTest.java
|
| |
+
|
| |
+ # test is not compatible with latest plexus-utils
|
| |
+ rm src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java
|
| |
+
|
| |
+
|
| |
%build
|
| |
%mvn_build
|
| |
|
| |
+
|
| |
%install
|
| |
%mvn_install
|
| |
|
| |
+
|
| |
%files -f .mfiles
|
| |
%license LICENSE NOTICE
|
| |
|
| |
%files javadoc -f .mfiles-javadoc
|
| |
%license LICENSE NOTICE
|
| |
|
| |
+
|
| |
%changelog
|
| |
+ * Tue Aug 11 2020 Fabio Valentini <decathorpe@gmail.com> - 3.3.3-1
|
| |
+ - Update to version 3.3.3.
|
| |
+
|
| |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-0.7
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
|
| |
It looks like this update breaks at least some packages:
Until those issues have been fixed, DO NOT MERGE.
Test builds in COPR:
https://copr.fedorainfracloud.org/coprs/decathorpe/maven-shared-utils-3.3.3-pr/monitor/