Compare commits

..

1 commit

Author SHA1 Message Date
ff73b02c2f Convert to %autorelease and %autochangelog
[skip changelog]
2023-07-29 15:34:44 +02:00
4 changed files with 11 additions and 15 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
/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

View file

@ -1,9 +1,3 @@
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (xml-maven-plugin-1.1.0.tar.gz) = 89b3a1a8d730cca980e50932a6efd0c3b7c6b6adce1a40303d7c17339992f31c20124b9c8844721302e6ad5eaedc45d60920a62acca909f14247885518d0ab45
SHA512 (xml-maven-plugin-1.0.2-source-release.zip) = bbd3e285d35cde314e3d72035e53b5b63f8255dcf2c5f6dc43bf954c447c2cc80b36f1fb540ff07866fb15cd431afa6e3e8e3b822cc614717cb9914379066253

View file

@ -1,16 +1,16 @@
Name: xml-maven-plugin
Summary: Maven XML Plugin
Version: 1.1.0
Version: 1.0.2
Release: %autorelease
License: Apache-2.0
License: ASL 2.0
URL: https://www.mojohaus.org/xml-maven-plugin/
Source0: https://github.com/mojohaus/xml-maven-plugin/archive/%{version}/%{name}-%{version}.tar.gz
Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
BuildRequires: maven-local-openjdk25
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
@ -34,13 +34,16 @@ This package contains the API documentation for %{name}.
%prep
%autosetup
%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
# Add the version
sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl
%pom_xpath_set pom:mojo.java.target 8
%build
%mvn_build -f