From 35bbdb72349508e9a181eee2e45e3c2170972084 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 27 Jul 2023 06:35:51 -0600 Subject: [PATCH] Version 1.1.0 ... (rhbz#2216358) - Convert License tag to SPDX --- .gitignore | 1 + sources | 2 +- xml-maven-plugin.spec | 13 ++++--------- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index fc920ab..6ace56f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /xml-maven-plugin-1.0-source-release.zip /xml-maven-plugin-1.0.1-source-release.zip /xml-maven-plugin-1.0.2-source-release.zip +/xml-maven-plugin-1.1.0.tar.gz diff --git a/sources b/sources index e769854..f1c8453 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xml-maven-plugin-1.0.2-source-release.zip) = bbd3e285d35cde314e3d72035e53b5b63f8255dcf2c5f6dc43bf954c447c2cc80b36f1fb540ff07866fb15cd431afa6e3e8e3b822cc614717cb9914379066253 +SHA512 (xml-maven-plugin-1.1.0.tar.gz) = 89b3a1a8d730cca980e50932a6efd0c3b7c6b6adce1a40303d7c17339992f31c20124b9c8844721302e6ad5eaedc45d60920a62acca909f14247885518d0ab45 diff --git a/xml-maven-plugin.spec b/xml-maven-plugin.spec index fdd4af9..ad520ec 100644 --- a/xml-maven-plugin.spec +++ b/xml-maven-plugin.spec @@ -1,11 +1,11 @@ Name: xml-maven-plugin Summary: Maven XML Plugin -Version: 1.0.2 +Version: 1.1.0 Release: %autorelease -License: ASL 2.0 +License: Apache-2.0 URL: https://www.mojohaus.org/xml-maven-plugin/ -Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip +Source0: https://github.com/mojohaus/xml-maven-plugin/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{java_arches} noarch @@ -34,12 +34,7 @@ This package contains the API documentation for %{name}. %prep -%setup -q - -for d in LICENSE NOTICE ; do - iconv -f iso8859-1 -t utf-8 $d.txt > $d.txt.conv && mv -f $d.txt.conv $d.txt - sed -i 's/\r//' $d.txt -done +%autosetup # Add the version sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl