diff --git a/metro-mimepull-1.9.10.tar.gz b/metro-mimepull-1.9.10.tar.gz new file mode 100644 index 0000000..ac21651 Binary files /dev/null and b/metro-mimepull-1.9.10.tar.gz differ diff --git a/mimepull-1.9.6.tar.gz b/mimepull-1.9.6.tar.gz deleted file mode 100644 index 8621ecb..0000000 Binary files a/mimepull-1.9.6.tar.gz and /dev/null differ diff --git a/mimepull.spec b/mimepull.spec index 35a38fd..c9bb54b 100644 --- a/mimepull.spec +++ b/mimepull.spec @@ -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 . ' - - - enforce-versions - - enforce - - - - - - - [1.7,) - - - [3.0.3,) - - - -' iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE sed -i 's/\r//' LICENSE +sed -i '/7/d' pom.xml +sed -i '/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 - 1.9.10-1 +- Update to version 1.9.10 + * Fri Aug 18 2023 Ge Wang - 1.9.6-3 - Fix build failure due to buildnumber-maven-plugin updated