Compare commits
32 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be5a771401 | ||
|
|
a3db7684f3 | ||
|
|
d6bb1847eb | ||
|
|
907046260a | ||
|
|
dadb78f600 |
||
|
|
659c2d4774 |
||
|
|
989232114d | ||
|
|
13e0b09f74 |
||
|
|
415ff7db9e | ||
|
|
196cce2a91 | ||
|
|
e0b97f28ff |
||
|
|
f12adf4349 | ||
|
|
0097c1e49c | ||
|
|
01b15cb7c7 | ||
|
|
d18394113d | ||
|
|
36e1bccc2d | ||
|
|
9d2f676d73 | ||
|
|
c2eaf846f6 | ||
|
|
85201d2966 | ||
|
|
ee32c0ee2e | ||
|
|
1b75b96aa3 | ||
|
|
8dc48d6c0f | ||
|
|
b745565ebe | ||
|
|
63b5ecde41 | ||
|
|
07bcedf7c6 | ||
|
|
28bacdb140 | ||
|
|
2962ac1606 | ||
|
|
101cdadcd7 | ||
|
|
9a8eb78002 | ||
|
|
2eb2593e82 | ||
|
|
da1ea20a16 | ||
|
|
2de96bfce3 |
7 changed files with 1 additions and 288 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/apache-rat-0.8-20100827.tar.bz2
|
||||
/apache-rat-incubating-0.8-src.tar.bz2
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- apache-rat-0.8-20100827/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java.doxia-1.1 2010-02-07 17:34:00.000000000 -0700
|
||||
+++ apache-rat-0.8-20100827/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java 2010-09-02 10:57:24.904400746 -0600
|
||||
@@ -39,7 +39,7 @@
|
||||
import org.apache.maven.artifact.resolver.ArtifactResolver;
|
||||
import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
|
||||
import org.apache.maven.artifact.versioning.VersionRange;
|
||||
-import org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext;
|
||||
+import org.apache.maven.doxia.sink.render.RenderingContext;
|
||||
import org.apache.maven.doxia.site.decoration.Body;
|
||||
import org.apache.maven.doxia.site.decoration.DecorationModel;
|
||||
import org.apache.maven.doxia.site.decoration.Skin;
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
--- apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java.test 2010-07-13 10:10:23.000000000 -0600
|
||||
+++ apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java 2010-10-28 15:20:11.897580449 -0600
|
||||
@@ -61,7 +61,7 @@
|
||||
private Renderer newSiteRenderer()
|
||||
throws Exception
|
||||
{
|
||||
- return (Renderer) container.lookup( Renderer.ROLE, "default" );
|
||||
+ return (Renderer) getContainer().lookup( Renderer.ROLE, "default" );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -129,7 +129,7 @@
|
||||
localRepo = System.getProperty( "user.home" ) + "/.m2/repository";
|
||||
}
|
||||
ArtifactRepositoryLayout repositoryLayout =
|
||||
- (ArtifactRepositoryLayout) container.lookup(ArtifactRepositoryLayout.ROLE, "default" );
|
||||
+ (ArtifactRepositoryLayout) getContainer().lookup(ArtifactRepositoryLayout.ROLE, "default" );
|
||||
return new DefaultArtifactRepository( "local", "file://" + localRepo, repositoryLayout );
|
||||
}
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
diff -up apache-rat-0.8/apache-rat-plugin/pom.xml.compat apache-rat-0.8/apache-rat-plugin/pom.xml
|
||||
--- apache-rat-0.8/apache-rat-plugin/pom.xml.compat 2011-11-08 22:14:36.000000000 -0700
|
||||
+++ apache-rat-0.8/apache-rat-plugin/pom.xml 2011-12-06 16:35:28.068167192 -0700
|
||||
@@ -122,6 +122,10 @@
|
||||
<artifactId>maven-plugin-testing-harness</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
+ <dependency>
|
||||
+ <groupId>org.apache.maven</groupId>
|
||||
+ <artifactId>maven-compat</artifactId>
|
||||
+ </dependency>
|
||||
</dependencies>
|
||||
|
||||
<reporting>
|
||||
diff -up apache-rat-0.8/pom.xml.compat apache-rat-0.8/pom.xml
|
||||
239
apache-rat.spec
239
apache-rat.spec
|
|
@ -1,239 +0,0 @@
|
|||
%global snapdate 20100827
|
||||
#svn 990212.
|
||||
|
||||
Name: apache-rat
|
||||
Version: 0.8
|
||||
Release: 10%{?dist}
|
||||
Summary: Apache Release Audit Tool (RAT)
|
||||
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: http://creadur.apache.org/rat/
|
||||
#svn had a number of needed bugfixes
|
||||
#svn export -r 990212 http://svn.apache.org/repos/asf/incubator/rat/main/trunk apache-rat-0.8-20100707
|
||||
#Source0: %{name}-%{version}-%{snapdate}.tar.bz2
|
||||
Source0: http://www.apache.org/dist/incubator/rat/sources/apache-rat-incubating-%{version}-src.tar.bz2
|
||||
Patch0: apache-rat-0.8-doxia-1.1.patch
|
||||
Patch1: apache-rat-compat.patch
|
||||
Patch2: apache-rat-0.8-test.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: maven-antrun-plugin
|
||||
BuildRequires: maven-compiler-plugin
|
||||
BuildRequires: maven-dependency-plugin
|
||||
BuildRequires: maven-install-plugin
|
||||
BuildRequires: maven-invoker-plugin
|
||||
BuildRequires: maven-jar-plugin
|
||||
BuildRequires: maven-javadoc-plugin
|
||||
BuildRequires: maven-plugin-plugin
|
||||
BuildRequires: maven-resources-plugin
|
||||
BuildRequires: maven-site-plugin
|
||||
BuildRequires: maven-source-plugin
|
||||
BuildRequires: maven-surefire-maven-plugin
|
||||
BuildRequires: maven-wagon
|
||||
|
||||
BuildRequires: ant-antunit
|
||||
BuildRequires: ant-testutil
|
||||
BuildRequires: apache-commons-compress
|
||||
|
||||
Requires: jpackage-utils
|
||||
Requires: java
|
||||
|
||||
%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 core
|
||||
Summary: Core functionality for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: apache-commons-cli
|
||||
Requires: apache-commons-collections
|
||||
Requires: apache-commons-compress
|
||||
Requires: apache-commons-lang
|
||||
Requires: apache-commons-io
|
||||
Requires: junit
|
||||
|
||||
%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}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-core = %{version}-%{release}
|
||||
|
||||
%description plugin
|
||||
Maven plugin for running RAT, the Release Audit Tool.
|
||||
|
||||
|
||||
%package tasks
|
||||
Summary: Ant tasks for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-core = %{version}-%{release}
|
||||
|
||||
%description tasks
|
||||
Ant tasks for running RAT.
|
||||
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{name}
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1 -b .doxia-1.1
|
||||
%patch1 -p1 -b .compat
|
||||
%patch2 -p1 -b .test
|
||||
|
||||
|
||||
%build
|
||||
mvn-rpmbuild -DskipTests=true package javadoc:aggregate
|
||||
|
||||
%install
|
||||
#Dirs
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}/%{name}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||
|
||||
#Parent pom
|
||||
cp -p pom.xml \
|
||||
$RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}.pom
|
||||
%add_maven_depmap JPP.%{name}-%{name}.pom
|
||||
|
||||
#Components
|
||||
for comp in core plugin tasks
|
||||
do
|
||||
jarname=%{name}-${comp}
|
||||
jarfile=$jarname/target/${jarname}-%{version}.jar
|
||||
cp -p $jarfile $RPM_BUILD_ROOT%{_javadir}/%{name}/${jarname}.jar
|
||||
cp -p ${jarname}/pom.xml \
|
||||
$RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-${jarname}.pom
|
||||
%add_maven_depmap JPP.%{name}-${jarname}.pom %{name}/${jarname}.jar -f ${comp}
|
||||
done
|
||||
|
||||
#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
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ant.d
|
||||
echo "apache-rat/rat-core apache-rat/rat-tasks" > $RPM_BUILD_ROOT%{_sysconfdir}/ant.d/%{name}
|
||||
|
||||
#Javadoc
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/
|
||||
cp -rp target/site/apidocs \
|
||||
$RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
|
||||
|
||||
%files
|
||||
%doc DISCLAIMER.txt LICENSE NOTICE README.txt RELEASE_NOTES.txt
|
||||
%{_mavenpomdir}/JPP.%{name}-%{name}.pom
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
%dir %{_javadir}/%{name}
|
||||
|
||||
%files core
|
||||
%doc LICENSE NOTICE
|
||||
%{_mavenpomdir}/JPP.%{name}-%{name}-core.pom
|
||||
%{_mavendepmapfragdir}/%{name}-core
|
||||
%{_bindir}/%{name}
|
||||
%{_javadir}/%{name}/%{name}-core.jar
|
||||
|
||||
%files plugin
|
||||
%doc LICENSE NOTICE
|
||||
%{_mavenpomdir}/JPP.%{name}-%{name}-plugin.pom
|
||||
%{_mavendepmapfragdir}/%{name}-plugin
|
||||
%{_javadir}/%{name}/%{name}-plugin.jar
|
||||
|
||||
%files tasks
|
||||
%doc LICENSE NOTICE
|
||||
%{_sysconfdir}/ant.d/%{name}
|
||||
%{_mavenpomdir}/JPP.%{name}-%{name}-tasks.pom
|
||||
%{_mavendepmapfragdir}/%{name}-tasks
|
||||
%{_javadir}/%{name}/%{name}-tasks.jar
|
||||
|
||||
%files javadoc
|
||||
%doc LICENSE NOTICE
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* 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 @@
|
|||
22a46f414444a7935ea2f507ca3677e3 apache-rat-incubating-0.8-src.tar.bz2
|
||||
Reference in a new issue