#1 update to version 0.13
Merged a month ago by decathorpe. Opened 2 months ago by decathorpe.

file modified
+4

@@ -1,6 +1,10 @@

+ /results_*

+ /*.src.rpm

+ 

  /apache-rat-0.8-20100827.tar.bz2

  /apache-rat-incubating-0.8-src.tar.bz2

  /apache-rat-0.9-src.tar.bz2

  /apache-rat-0.10-src.tar.bz2

  /apache-rat-0.11-src.tar.bz2

  /apache-rat-0.12-src.tar.bz2

+ /apache-rat-0.13-src.tar.bz2

file modified
+32 -18

@@ -1,15 +1,16 @@

  Name:           apache-rat

- Version:        0.12

- Release:        9%{?dist}

  Summary:        Apache Release Audit Tool (RAT)

- 

+ Version:        0.13

+ Release:        1%{?dist}

  License:        ASL 2.0

+ 

  URL:            http://creadur.apache.org/rat/

  Source0:        http://www.apache.org/dist/creadur/%{name}-%{version}/%{name}-%{version}-src.tar.bz2

- BuildArch:      noarch

  

  Patch1:         0001-Port-to-current-doxia-sitetools.patch

  

+ BuildArch:      noarch

+ 

  BuildRequires:  maven-local

  BuildRequires:  mvn(commons-cli:commons-cli)

  BuildRequires:  mvn(commons-collections:commons-collections)

@@ -54,47 +55,50 @@

  This package just contains meta-data, you will want either apache-rat-tasks,

  or apache-rat-plugin.

  

- %package api

+ 

+ %package        api

  Summary:        API module for %{name}

  

- %description api

+ %description    api

  Shared beans and services.

  

- %package core

+ 

+ %package        core

  Summary:        Core functionality for %{name}

- # Explicit requires for javapackages-tools since apache-rat-script

+ 

+ # explicit requires for javapackages-tools since apache-rat-script

  # uses /usr/share/java-utils/java-functions

  Requires:       javapackages-tools

  

- %description core

+ %description    core

  The core functionality of RAT, shared by the Ant tasks, and the Maven plugin.

  It also includes a wrapper script "apache-rat" that should be the equivalent

  to running upstream's "java -jar apache-rat.jar".

  

  

- %package plugin

+ %package        plugin

  Summary:        Maven plugin for %{name}

  

- %description plugin

+ %description    plugin

  Maven plugin for running RAT, the Release Audit Tool.

  

  

- %package tasks

+ %package        tasks

  Summary:        Ant tasks for %{name}

  

- %description tasks

+ %description    tasks

  Ant tasks for running RAT.

  

  

- %package javadoc

+ %package        javadoc

  Summary:        Javadocs for %{name}

  

- %description javadoc

+ %description    javadoc

  This package contains the API documentation for %{name}.

  

  

  %prep

- %setup -q -n %{name}-%{version}

+ %setup -q

  

  %patch1 -p1

  

@@ -106,6 +110,10 @@

  # skipped anyways.  See rhbz#988561

  %pom_remove_plugin -r :maven-antrun-plugin

  

+ # don't run apache-rat's checks on apache-rat:

+ # these tests fail and would introduce a circular self-dependency

+ %pom_remove_plugin -r :apache-rat-plugin

+ 

  %pom_remove_plugin :animal-sniffer-maven-plugin

  %pom_remove_plugin :maven-enforcer-plugin

  

@@ -118,16 +126,18 @@

  # incompatible with our plexus-container

  rm apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java

  

+ 

  %build

  %mvn_build -s

  

+ 

  %install

  %mvn_install

  

- #Wrapper script

+ # create wrapper script

  %jpackage_script org.apache.rat.Report "" "" %{name}/%{name}-core:commons-cli:commons-io:commons-collections:commons-compress:commons-lang:junit apache-rat true

  

- #Ant taksks

+ # install ant taksks

  mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ant.d

  echo "apache-rat/rat-core apache-rat/rat-tasks" > $RPM_BUILD_ROOT%{_sysconfdir}/ant.d/%{name}

  

@@ -153,6 +163,9 @@

  

  

  %changelog

+ * Mon Jul 29 2019 Fabio Valentini <decathorpe@gmail.com> - 0.13-1

+ - Update to version 0.13.

+ 

  * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-9

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

  

@@ -277,3 +290,4 @@

  

  * Wed Aug 11 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.1

  - Initial Fedora package

+ 

file modified
+1 -1

@@ -1,1 +1,1 @@

- b16ae9ada406b55cd8ea8374d55d68bf  apache-rat-0.12-src.tar.bz2

+ SHA512 (apache-rat-0.13-src.tar.bz2) = 564cb2b0f21c98ca5c10566417c0d2732cd177efb68607589e43bcf64eeedee7a570dbea7ef4d6237f6438ecb40d382cb96bd0d6f60c1d1ba1f76778f15ee26a

Test rebuilds of dependent packages happened in COPR:

https://copr.fedorainfracloud.org/coprs/decathorpe/apache-rat-pr/monitor/

There are no new build failures on top of what's already broken in rawhide, according to koschei.

rebased onto e0b97f2

2 months ago

↑ rebased for after the mass rebuild

PS: Please disregard the simple-koji-ci failure (I have no idea what happened there) - local mock builds and a koji scratch build of this update succeeded without issues:

https://koji.fedoraproject.org/koji/taskinfo?taskID=36659742

Ack, LGTM. I tried investigating the simple-koji-cli failure, but I think the build expired. I wasn't able to find output of why the test failed. Wondering if it is a random failure.

Do you know if we can turn on more verbose output on test failure (e.g., write to stdout/stderr instead of that log file)? Something like ctest's --output-on-failure option?

I checked the build failure and it looked like a race condition in either the build or the tests which occured at most once or twice in 10 builds. It built successfully on multiple arches here:

https://copr.fedorainfracloud.org/coprs/g/stewardship-sig/javapackages/monitor/

Pull-Request has been merged by decathorpe

a month ago