|
|
4cc869 |
%global pkg_name apache-rat
|
|
|
4cc869 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
4cc869 |
%{?maven_find_provides_and_requires}
|
|
|
4cc869 |
|
|
|
4cc869 |
%global snapdate 20100827
|
|
|
4cc869 |
#svn 990212.
|
|
|
4cc869 |
|
|
|
4cc869 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
4cc869 |
Version: 0.8
|
|
|
4cc869 |
Release: 13.20%{?dist}
|
|
|
4cc869 |
Summary: Apache Release Audit Tool (RAT)
|
|
|
4cc869 |
|
|
|
4cc869 |
License: ASL 2.0
|
|
|
4cc869 |
URL: http://creadur.apache.org/rat/
|
|
|
4cc869 |
#svn had a number of needed bugfixes
|
|
|
4cc869 |
#svn export -r 990212 http://svn.apache.org/repos/asf/incubator/rat/main/trunk apache-rat-0.8-20100707
|
|
|
4cc869 |
#Source0: %{pkg_name}-%{version}-%{snapdate}.tar.bz2
|
|
|
4cc869 |
Source0: http://www.apache.org/dist/incubator/rat/sources/apache-rat-incubating-%{version}-src.tar.bz2
|
|
|
4cc869 |
Patch0: apache-rat-0.8-doxia-1.1.patch
|
|
|
4cc869 |
Patch1: apache-rat-compat.patch
|
|
|
4cc869 |
Patch2: apache-rat-0.8-test.patch
|
|
|
4cc869 |
BuildArch: noarch
|
|
|
4cc869 |
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix_java_common}javapackages-tools
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-antrun-plugin
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-dependency-plugin
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-install-plugin
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-invoker-plugin
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-plugin-plugin
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-plugin-testing-harness
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-site-plugin
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-source-plugin
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}maven-surefire-plugin
|
|
|
4cc869 |
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix}ant-antunit
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix_java_common}ant-testutil
|
|
|
4cc869 |
BuildRequires: %{?scl_prefix_java_common}apache-commons-compress
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%description
|
|
|
4cc869 |
Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when
|
|
|
4cc869 |
checking releases. It is heuristic in nature: making guesses about possible
|
|
|
4cc869 |
problems. It will produce false positives and cannot find every possible
|
|
|
4cc869 |
issue with a release. It's reports require interpretation.
|
|
|
4cc869 |
|
|
|
4cc869 |
RAT was developed in response to a need felt in the Apache Incubator to be
|
|
|
4cc869 |
able to review releases for the most common faults less labor intensively.
|
|
|
4cc869 |
It is therefore highly tuned to the Apache style of releases.
|
|
|
4cc869 |
|
|
|
4cc869 |
This package just contains meta-data, you will want either apache-rat-tasks,
|
|
|
4cc869 |
or apache-rat-plugin.
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%package core
|
|
|
4cc869 |
Summary: Core functionality for %{pkg_name}
|
|
|
4cc869 |
Requires: %{name} = %{version}-%{release}
|
|
|
4cc869 |
|
|
|
4cc869 |
%description core
|
|
|
4cc869 |
The core functionality of RAT, shared by the Ant tasks, and the Maven plugin.
|
|
|
4cc869 |
It also includes a wrapper script "apache-rat" that should be the equivalent
|
|
|
4cc869 |
to running upstream's "java -jar apache-rat.jar".
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%package plugin
|
|
|
4cc869 |
Summary: Maven plugin for %{pkg_name}
|
|
|
4cc869 |
Requires: %{name}-core = %{version}-%{release}
|
|
|
4cc869 |
|
|
|
4cc869 |
%description plugin
|
|
|
4cc869 |
Maven plugin for running RAT, the Release Audit Tool.
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%package tasks
|
|
|
4cc869 |
Summary: Ant tasks for %{pkg_name}
|
|
|
4cc869 |
Requires: %{name}-core = %{version}-%{release}
|
|
|
4cc869 |
|
|
|
4cc869 |
%description tasks
|
|
|
4cc869 |
Ant tasks for running RAT.
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%package javadoc
|
|
|
4cc869 |
Summary: Javadocs for %{pkg_name}
|
|
|
4cc869 |
|
|
|
4cc869 |
%description javadoc
|
|
|
4cc869 |
This package contains the API documentation for %{pkg_name}.
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%prep
|
|
|
4cc869 |
%setup -q -n %{pkg_name}-%{version}
|
|
|
4cc869 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
4cc869 |
set -e -x
|
|
|
4cc869 |
%patch0 -p1 -b .doxia-1.1
|
|
|
4cc869 |
%patch1 -p1 -b .compat
|
|
|
4cc869 |
%patch2 -p1 -b .test
|
|
|
4cc869 |
|
|
|
4cc869 |
%pom_remove_plugin :maven-antrun-plugin apache-rat-tasks
|
|
|
4cc869 |
%pom_xpath_remove pom:extensions
|
|
|
4cc869 |
|
|
|
4cc869 |
%mvn_package :apache-rat-project apache-rat
|
|
|
4cc869 |
%{?scl:EOF}
|
|
|
4cc869 |
|
|
|
4cc869 |
%build
|
|
|
4cc869 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
4cc869 |
set -e -x
|
|
|
4cc869 |
%mvn_build -f -s
|
|
|
4cc869 |
%{?scl:EOF}
|
|
|
4cc869 |
|
|
|
4cc869 |
%install
|
|
|
4cc869 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
4cc869 |
set -e -x
|
|
|
4cc869 |
%mvn_install
|
|
|
4cc869 |
|
|
|
4cc869 |
#Ant taksks
|
|
|
4cc869 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir_java_common}/ant.d
|
|
|
4cc869 |
echo "apache-rat/rat-core apache-rat/rat-tasks" > $RPM_BUILD_ROOT%{_sysconfdir_java_common}/ant.d/%{pkg_name}
|
|
|
4cc869 |
%{?scl:EOF}
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%files -f .mfiles-apache-rat
|
|
|
4cc869 |
%doc DISCLAIMER.txt LICENSE NOTICE README.txt RELEASE_NOTES.txt
|
|
|
4cc869 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
4cc869 |
%dir %{_javadir}/%{pkg_name}
|
|
|
4cc869 |
|
|
|
4cc869 |
%files core -f .mfiles-apache-rat-core
|
|
|
4cc869 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
4cc869 |
%dir %{_javadir}/%{pkg_name}
|
|
|
4cc869 |
%doc LICENSE NOTICE
|
|
|
4cc869 |
|
|
|
4cc869 |
%files plugin -f .mfiles-apache-rat-plugin
|
|
|
4cc869 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
4cc869 |
%dir %{_javadir}/%{pkg_name}
|
|
|
4cc869 |
%doc LICENSE NOTICE
|
|
|
4cc869 |
|
|
|
4cc869 |
%files tasks -f .mfiles-apache-rat-tasks
|
|
|
4cc869 |
%doc LICENSE NOTICE
|
|
|
4cc869 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
4cc869 |
%dir %{_javadir}/%{pkg_name}
|
|
|
4cc869 |
%{_sysconfdir_java_common}/ant.d/%{pkg_name}
|
|
|
4cc869 |
|
|
|
4cc869 |
%files javadoc -f .mfiles-javadoc
|
|
|
4cc869 |
%doc LICENSE NOTICE
|
|
|
4cc869 |
|
|
|
4cc869 |
|
|
|
4cc869 |
%changelog
|
|
|
4cc869 |
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0.8-13.20
|
|
|
4cc869 |
- Fix BR on maven-local & co.
|
|
|
4cc869 |
|
|
|
4cc869 |
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0.8-13.19
|
|
|
4cc869 |
- maven33 rebuild #2
|
|
|
4cc869 |
|
|
|
4cc869 |
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0.8-13.18
|
|
|
4cc869 |
- maven33 rebuild
|
|
|
4cc869 |
|
|
|
4cc869 |
* Fri Jan 16 2015 Michal Srb <msrb@redhat.com> - 0.8-13.17
|
|
|
4cc869 |
- Fix directory ownership
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Jan 15 2015 Michael Simacek <msimacek@redhat.com> - 0.8-13.16
|
|
|
4cc869 |
- Install ant.d files into rh-java-common's ant.d
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.15
|
|
|
4cc869 |
- Add directory ownership on %%{_mavenpomdir} subdir
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0.8-13.14
|
|
|
4cc869 |
- Mass rebuild 2015-01-13
|
|
|
4cc869 |
|
|
|
4cc869 |
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 0.8-13.13
|
|
|
4cc869 |
- Rebuild to regenerate requires from java-common
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0.8-13.12
|
|
|
4cc869 |
- Mass rebuild 2015-01-06
|
|
|
4cc869 |
|
|
|
4cc869 |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.11
|
|
|
4cc869 |
- Mass rebuild 2014-05-26
|
|
|
4cc869 |
|
|
|
4cc869 |
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.10
|
|
|
4cc869 |
- Remove wagon-ssh extension from POM
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Feb 20 2014 Michael Simacek <msimacek@redhat.com> - 0.8-13.9
|
|
|
4cc869 |
- Remove BR on maven-wagon
|
|
|
4cc869 |
|
|
|
4cc869 |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.8
|
|
|
4cc869 |
- Mass rebuild 2014-02-19
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.7
|
|
|
4cc869 |
- Mass rebuild 2014-02-18
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.6
|
|
|
4cc869 |
- Remove requires on java
|
|
|
4cc869 |
|
|
|
4cc869 |
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.5
|
|
|
4cc869 |
- Add missing BR: maven-plugin-testing-harness
|
|
|
4cc869 |
|
|
|
4cc869 |
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.4
|
|
|
4cc869 |
- SCL-ize build-requires
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.3
|
|
|
4cc869 |
- Rebuild to regenerate auto-requires
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.2
|
|
|
4cc869 |
- Remove %%jpackage_script wrapper
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-13.1
|
|
|
4cc869 |
- First maven30 software collection build
|
|
|
4cc869 |
|
|
|
4cc869 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.8-13
|
|
|
4cc869 |
- Mass rebuild 2013-12-27
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Aug 27 2013 Michal Srb <msrb@redhat.com> - 0.8-12
|
|
|
4cc869 |
- Migrate away from mvn-rpmbuild (Resolves: #997517)
|
|
|
4cc869 |
|
|
|
4cc869 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-11
|
|
|
4cc869 |
- Rebuild to regenerate API documentation
|
|
|
4cc869 |
- Resolves: CVE-2013-1571
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Jun 11 2013 Orion Poplawski <orion@cora.nwra.com> 0.8-10
|
|
|
4cc869 |
- Split up depmap fragments (bug 973242)
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Feb 26 2013 Orion Poplawski <orion@cora.nwra.com> 0.8-9
|
|
|
4cc869 |
- Drop BR on maven-doxia and maven-doxia-sitetools (bug #915606)
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Feb 12 2013 Orion Poplawski <orion@cora.nwra.com> 0.8-8
|
|
|
4cc869 |
- Add apache-rat wrapper script to apache-rat-core (bug #907782)
|
|
|
4cc869 |
- Disable tests for now due to Fedora maven bug
|
|
|
4cc869 |
|
|
|
4cc869 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.8-7
|
|
|
4cc869 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
4cc869 |
- Replace maven BuildRequires with maven-local
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-6
|
|
|
4cc869 |
- Run mvn-rpmbuild package instead of install
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8-5
|
|
|
4cc869 |
- Install NOTICE files
|
|
|
4cc869 |
- Remove defattr
|
|
|
4cc869 |
|
|
|
4cc869 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
|
|
|
4cc869 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
|
|
|
4cc869 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4cc869 |
|
|
|
4cc869 |
* Wed Dec 7 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-2
|
|
|
4cc869 |
- Update to maven 3
|
|
|
4cc869 |
|
|
|
4cc869 |
* Tue Dec 6 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-1
|
|
|
4cc869 |
- Update to 0.8 release
|
|
|
4cc869 |
- Add BR maven-invoker-plugin
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Apr 28 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-0.7.20100827
|
|
|
4cc869 |
- Add needed requires to core
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Mar 3 2011 Orion Poplawski <orion@cora.nwra.com> 0.8-0.6.20100827
|
|
|
4cc869 |
- Drop unneeded rm from %%install
|
|
|
4cc869 |
- Don't ship BUILD.txt
|
|
|
4cc869 |
- Cleanup Requires
|
|
|
4cc869 |
|
|
|
4cc869 |
* Mon Dec 27 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.5.20100827
|
|
|
4cc869 |
- Drop maven settings patch
|
|
|
4cc869 |
- Add svn revision to export command
|
|
|
4cc869 |
- Set maven.test.failure.ignore=true instead of maven.test.skip
|
|
|
4cc869 |
- Use %%{_mavenpomdir}
|
|
|
4cc869 |
|
|
|
4cc869 |
* Thu Dec 9 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.4.20100827
|
|
|
4cc869 |
- Change BR to ant-antunit
|
|
|
4cc869 |
- Drop versioned jar and javadoc
|
|
|
4cc869 |
- Drop BuildRoot and %%clean
|
|
|
4cc869 |
|
|
|
4cc869 |
* Mon Nov 1 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.3.20100827
|
|
|
4cc869 |
- Add /etc/ant.d/apache-rat
|
|
|
4cc869 |
|
|
|
4cc869 |
* Fri Oct 29 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.2.20100827
|
|
|
4cc869 |
- First real working package
|
|
|
4cc869 |
|
|
|
4cc869 |
* Wed Aug 11 2010 Orion Poplawski <orion@cora.nwra.com> 0.8-0.1
|
|
|
4cc869 |
- Initial Fedora package
|