update to version 1.9.10
This commit is contained in:
parent
2f18cfe4bf
commit
e00c754937
BIN
metro-mimepull-1.9.10.tar.gz
Normal file
BIN
metro-mimepull-1.9.10.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
Name: mimepull
|
||||
Version: 1.9.6
|
||||
Release: 3
|
||||
Version: 1.9.10
|
||||
Release: 1
|
||||
Summary: Streaming API to access attachments from a MIME message
|
||||
License: CDDL-1.1 and GPLv2 with exceptions
|
||||
URL: http://mimepull.java.net
|
||||
Source0: https://github.com/javaee/metro-mimepull/archive/mimepull-1.9.6.tar.gz
|
||||
Source0: https://github.com/javaee/metro-mimepull/archive/%{version}/metro-mimepull-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local mvn(junit:junit) mvn(net.java:jvnet-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
@ -24,7 +24,7 @@ Summary: Javadoc for %{name}
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n metro-mimepull-mimepull-%{version} -p1
|
||||
%autosetup -n metro-mimepull-%{version} -p1
|
||||
%pom_remove_plugin :cobertura-maven-plugin
|
||||
%pom_remove_plugin :findbugs-maven-plugin
|
||||
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
||||
@ -35,28 +35,12 @@ This package contains the API documentation for %{name}.
|
||||
%pom_remove_dep org.tmatesoft.svnkit:svnkit
|
||||
%pom_xpath_remove pom:providerImplementations
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
%pom_add_plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0.1 . '
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-versions</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireJavaVersion>
|
||||
<version>[1.7,)</version>
|
||||
</requireJavaVersion>
|
||||
<requireMavenVersion>
|
||||
<version>[3.0.3,)</version>
|
||||
</requireMavenVersion>
|
||||
<DependencyConvergence/>
|
||||
</rules>
|
||||
</configuration>'
|
||||
iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE
|
||||
sed -i 's/\r//' LICENSE
|
||||
sed -i '/<release>7/d' pom.xml
|
||||
sed -i '/<release>9/,+1d;:go;1,1!{P;N;D};N;bgo' pom.xml
|
||||
sed -i '$d' pom.xml
|
||||
rm -rf src/main/java/module-info.java
|
||||
|
||||
%build
|
||||
%mvn_build -b
|
||||
@ -71,6 +55,9 @@ sed -i 's/\r//' LICENSE
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Wed Jan 24 2024 Ge Wang <wang__ge@126.com> - 1.9.10-1
|
||||
- Update to version 1.9.10
|
||||
|
||||
* Fri Aug 18 2023 Ge Wang <wang__ge@126.com> - 1.9.6-3
|
||||
- Fix build failure due to buildnumber-maven-plugin updated
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user