Unmaintained upstream
This commit is contained in:
parent
a3db7684f3
commit
be5a771401
5 changed files with 1 additions and 372 deletions
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -1,10 +0,0 @@
|
|||
/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
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
From 8f572ac8d4f7f128e224cde92f8c604631ca8548 Mon Sep 17 00:00:00 2001
|
||||
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
||||
Date: Thu, 10 Nov 2016 07:59:31 +0100
|
||||
Subject: [PATCH] Port to current doxia sitetools
|
||||
|
||||
---
|
||||
apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java b/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
|
||||
index 8d1eae6..ea25a00 100644
|
||||
--- a/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
|
||||
+++ b/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
|
||||
@@ -89,7 +89,7 @@ public class RatReportMojo extends AbstractRatMojo implements MavenReport {
|
||||
* @throws MojoFailureException An error in the plugin configuration was detected.
|
||||
* @throws MojoExecutionException An error occurred while searching for the artifact file.
|
||||
*/
|
||||
- private File getSkinArtifactFile() throws MojoFailureException, MojoExecutionException {
|
||||
+ private Artifact getSkinArtifactFile() throws MojoFailureException, MojoExecutionException {
|
||||
final Skin skin = Skin.getDefaultSkin();
|
||||
|
||||
String version = skin.getVersion();
|
||||
@@ -112,7 +112,7 @@ public class RatReportMojo extends AbstractRatMojo implements MavenReport {
|
||||
throw new MojoFailureException("The skin does not exist: " + e.getMessage());
|
||||
}
|
||||
|
||||
- return artifact.getFile();
|
||||
+ return artifact;
|
||||
}
|
||||
|
||||
/**
|
||||
--
|
||||
2.7.4
|
||||
|
||||
327
apache-rat.spec
327
apache-rat.spec
|
|
@ -1,327 +0,0 @@
|
|||
Name: apache-rat
|
||||
Summary: Apache Release Audit Tool (RAT)
|
||||
Version: 0.13
|
||||
Release: 9%{?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
|
||||
|
||||
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)
|
||||
BuildRequires: mvn(commons-io:commons-io)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.ant:ant)
|
||||
BuildRequires: mvn(org.apache.ant:ant-antunit)
|
||||
BuildRequires: mvn(org.apache.ant:ant-testutil)
|
||||
BuildRequires: mvn(org.apache:apache:pom:)
|
||||
BuildRequires: mvn(org.apache.commons:commons-compress)
|
||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-core)
|
||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-decoration-model)
|
||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
|
||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-site-renderer)
|
||||
BuildRequires: mvn(org.apache.maven:maven-artifact:2.2.1)
|
||||
BuildRequires: mvn(org.apache.maven:maven-artifact-manager)
|
||||
BuildRequires: mvn(org.apache.maven:maven-model:2.2.1)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.apache.maven:maven-project)
|
||||
BuildRequires: mvn(org.apache.maven:maven-settings:2.2.1)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api)
|
||||
BuildRequires: mvn(org.apache.maven.shared:maven-plugin-testing-harness)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
BuildRequires: mvn(org.hamcrest:hamcrest-library)
|
||||
BuildRequires: mvn(org.mockito:mockito-all)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
|
||||
%description
|
||||
Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when
|
||||
checking releases. It is heuristic in nature: making guesses about possible
|
||||
problems. It will produce false positives and cannot find every possible
|
||||
issue with a release. It's reports require interpretation.
|
||||
|
||||
RAT was developed in response to a need felt in the Apache Incubator to be
|
||||
able to review releases for the most common faults less labor intensively.
|
||||
It is therefore highly tuned to the Apache style of releases.
|
||||
|
||||
This package just contains meta-data, you will want either apache-rat-tasks,
|
||||
or apache-rat-plugin.
|
||||
|
||||
|
||||
%package api
|
||||
Summary: API module for %{name}
|
||||
|
||||
%description api
|
||||
Shared beans and services.
|
||||
|
||||
|
||||
%package core
|
||||
Summary: Core functionality for %{name}
|
||||
|
||||
# explicit requires for javapackages-tools since apache-rat-script
|
||||
# uses /usr/share/java-utils/java-functions
|
||||
Requires: javapackages-tools
|
||||
|
||||
%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
|
||||
Summary: Maven plugin for %{name}
|
||||
|
||||
%description plugin
|
||||
Maven plugin for running RAT, the Release Audit Tool.
|
||||
|
||||
|
||||
%package tasks
|
||||
Summary: Ant tasks for %{name}
|
||||
|
||||
%description tasks
|
||||
Ant tasks for running RAT.
|
||||
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch1 -p1
|
||||
|
||||
# apache-rat is a module bundling other RAT modules together and as
|
||||
# such it is not needed.
|
||||
%pom_disable_module apache-rat
|
||||
|
||||
# maven-antrun-plugin is used for running tests only and tests are
|
||||
# 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
|
||||
|
||||
# runs non-xmvn maven and downloads stuff
|
||||
%pom_remove_plugin -r :maven-invoker-plugin
|
||||
|
||||
# wagon-ssh is not needed in Fedora.
|
||||
%pom_xpath_remove pom:extensions
|
||||
|
||||
# trivial port to commons-lang3
|
||||
%pom_change_dep -r :commons-lang org.apache.commons:commons-lang3:3.8.1
|
||||
|
||||
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
|
||||
apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java
|
||||
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
|
||||
apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java
|
||||
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
|
||||
apache-rat-core/src/main/java/org/apache/rat/Report.java
|
||||
|
||||
# incompatible with our plexus-container
|
||||
rm apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java
|
||||
|
||||
|
||||
%build
|
||||
%mvn_build -s -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
||||
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
# 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
|
||||
|
||||
# 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}
|
||||
|
||||
|
||||
%files -f .mfiles-%{name}-project
|
||||
%doc LICENSE NOTICE
|
||||
|
||||
%files api -f .mfiles-%{name}-api
|
||||
%doc README.txt RELEASE-NOTES.txt
|
||||
%doc LICENSE NOTICE
|
||||
|
||||
%files core -f .mfiles-%{name}-core
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%files plugin -f .mfiles-%{name}-plugin
|
||||
|
||||
%files tasks -f .mfiles-%{name}-tasks
|
||||
%{_sysconfdir}/ant.d/%{name}
|
||||
%doc ant-task-examples.xml
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE NOTICE
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Jul 30 2020 Fabio Valentini <decathorpe@gmail.com> - 0.13-7
|
||||
- Remove stray commons-lang:commons-lang BuildRequires.
|
||||
|
||||
* Tue Jul 28 2020 Fabio Valentini <decathorpe@gmail.com> - 0.13-6
|
||||
- Port to commons-lang3.
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat Jul 18 2020 Fabio Valentini <decathorpe@gmail.com> - 0.13-4
|
||||
- Set javac source and target to 1.8 to fix Java 11 builds.
|
||||
|
||||
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0.13-3
|
||||
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Aug 30 2018 Severin Gehwolf <sgehwolf@redhat.com> - 0.12-7
|
||||
- Add explicit requirement for javapackages-tools.
|
||||
See RHBZ#1600426.
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Nov 10 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.12-2
|
||||
- Port to current doxia sitetools
|
||||
|
||||
* Thu Jun 23 2016 Michael Simacek <msimacek@redhat.com> - 0.12-1
|
||||
- Update to upstream version 0.12
|
||||
- Enable tests
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed Feb 18 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.11-1
|
||||
- Update to upstream version 0.11
|
||||
|
||||
* Mon Aug 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.10-6
|
||||
- Update to Maven Doxia 1.6
|
||||
|
||||
* Fri Jun 13 2014 Michal Srb <msrb@redhat.com> - 0.10-5
|
||||
- Fix FTBFS (Resolves: #1105955)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.10-3
|
||||
- Remove wagon-ssh extension from POM
|
||||
|
||||
* Thu Oct 3 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.10-2
|
||||
- Add missing BR
|
||||
- Update to current packaging guidelines
|
||||
|
||||
* Tue Sep 3 2013 Orion Poplawski <orion@cora.nwra.com> 0.10-1
|
||||
- Update to 0.10
|
||||
|
||||
* Fri Aug 9 2013 Orion Poplawski <orion@cora.nwra.com> 0.9-1
|
||||
- Update to 0.9
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jun 11 2013 Orion Poplawski <orion@cora.nwra.com> 0.8-10
|
||||
- Split up depmap fragments (bug 973242)
|
||||
|
||||
* Tue Feb 26 2013 Orion Poplawski <orion@cora.nwra.com> 0.8-9
|
||||
- Drop BR on maven-doxia and maven-doxia-sitetools (bug #915606)
|
||||
|
||||
* Tue Feb 12 2013 Orion Poplawski <orion@cora.nwra.com> 0.8-8
|
||||
- Add apache-rat wrapper script to apache-rat-core (bug #907782)
|
||||
- Disable tests for now due to Fedora maven bug
|
||||
|
||||
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.8-7
|
||||
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
||||
- Replace maven BuildRequires with maven-local
|
||||
|
||||
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-6
|
||||
- Run mvn-rpmbuild package instead of install
|
||||
|
||||
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-5
|
||||
- Install NOTICE files
|
||||
- Remove defattr
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Dec 7 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-2
|
||||
- Update to maven 3
|
||||
|
||||
* Tue Dec 6 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-1
|
||||
- Update to 0.8 release
|
||||
- Add BR maven-invoker-plugin
|
||||
|
||||
* Thu Apr 28 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-0.7.20100827
|
||||
- Add needed requires to core
|
||||
|
||||
* Thu Mar 3 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-0.6.20100827
|
||||
- Drop unneeded rm from %%install
|
||||
- Don't ship BUILD.txt
|
||||
- Cleanup Requires
|
||||
|
||||
* Mon Dec 27 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.5.20100827
|
||||
- Drop maven settings patch
|
||||
- Add svn revision to export command
|
||||
- Set maven.test.failure.ignore=true instead of maven.test.skip
|
||||
- Use %%{_mavenpomdir}
|
||||
|
||||
* Thu Dec 9 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.4.20100827
|
||||
- Change BR to ant-antunit
|
||||
- Drop versioned jar and javadoc
|
||||
- Drop BuildRoot and %%clean
|
||||
|
||||
* Mon Nov 1 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.3.20100827
|
||||
- Add /etc/ant.d/apache-rat
|
||||
|
||||
* Fri Oct 29 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.2.20100827
|
||||
- First real working package
|
||||
|
||||
* Wed Aug 11 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.1
|
||||
- Initial Fedora package
|
||||
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Unmaintained upstream
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (apache-rat-0.13-src.tar.bz2) = 564cb2b0f21c98ca5c10566417c0d2732cd177efb68607589e43bcf64eeedee7a570dbea7ef4d6237f6438ecb40d382cb96bd0d6f60c1d1ba1f76778f15ee26a
|
||||
Reference in a new issue