|
|
fb1054 |
%{?scl:%scl_package maven-dependency-analyzer}
|
|
|
fb1054 |
%{!?scl:%global pkg_name %{name}}
|
|
|
fb1054 |
|
|
|
fb1054 |
Name: %{?scl_prefix}maven-dependency-analyzer
|
|
|
fb1054 |
Version: 1.7
|
|
|
fb1054 |
Release: 1.2%{?dist}
|
|
|
fb1054 |
Summary: Maven dependency analyzer
|
|
|
fb1054 |
License: ASL 2.0
|
|
|
fb1054 |
URL: http://maven.apache.org/shared/maven-dependency-analyzer/
|
|
|
fb1054 |
BuildArch: noarch
|
|
|
fb1054 |
|
|
|
fb1054 |
Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
|
|
|
fb1054 |
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-artifact)
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-model)
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-project)
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-shared-components:pom:)
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
|
|
|
fb1054 |
BuildRequires: %{?scl_prefix}mvn(org.ow2.asm:asm)
|
|
|
fb1054 |
|
|
|
fb1054 |
%description
|
|
|
fb1054 |
Analyzes the dependencies of a project for undeclared or unused artifacts.
|
|
|
fb1054 |
|
|
|
fb1054 |
Warning: Analysis is not done at source but bytecode level, then some cases are
|
|
|
fb1054 |
not detected (constants, annotations with source-only retention, links in
|
|
|
fb1054 |
javadoc) which can lead to wrong result if they are the only use of a
|
|
|
fb1054 |
dependency.
|
|
|
fb1054 |
|
|
|
fb1054 |
%package javadoc
|
|
|
fb1054 |
Summary: API documentation for %{pkg_name}
|
|
|
fb1054 |
|
|
|
fb1054 |
%description javadoc
|
|
|
fb1054 |
%{summary}
|
|
|
fb1054 |
|
|
|
fb1054 |
%prep
|
|
|
fb1054 |
%setup -n %{pkg_name}-%{version} -q
|
|
|
fb1054 |
|
|
|
fb1054 |
# Needed for tests only. However, the right groupId:artifactId of jmock in
|
|
|
fb1054 |
# Fedora is org.jmock:jmock
|
|
|
fb1054 |
%pom_remove_dep jmock:jmock
|
|
|
fb1054 |
|
|
|
fb1054 |
%build
|
|
|
fb1054 |
# org.jmock.core package is needed, we don't have it
|
|
|
fb1054 |
%mvn_build -f
|
|
|
fb1054 |
|
|
|
fb1054 |
%install
|
|
|
fb1054 |
%mvn_install
|
|
|
fb1054 |
|
|
|
fb1054 |
%files -f .mfiles
|
|
|
fb1054 |
%dir %{_javadir}/%{pkg_name}
|
|
|
fb1054 |
%doc LICENSE NOTICE
|
|
|
fb1054 |
|
|
|
fb1054 |
%files javadoc -f .mfiles-javadoc
|
|
|
fb1054 |
%doc LICENSE NOTICE
|
|
|
fb1054 |
|
|
|
fb1054 |
%changelog
|
|
|
fb1054 |
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 1.7-1.2
|
|
|
fb1054 |
- Mass rebuild 2017-06-22
|
|
|
fb1054 |
|
|
|
fb1054 |
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 1.7-1.1
|
|
|
fb1054 |
- Automated package import and SCL-ization
|
|
|
fb1054 |
|
|
|
fb1054 |
* Thu May 04 2017 Michael Simacek <msimacek@redhat.com> - 1.7-1
|
|
|
fb1054 |
- Update to upstream version 1.7
|
|
|
fb1054 |
|
|
|
fb1054 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
|
|
|
fb1054 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
fb1054 |
|
|
|
fb1054 |
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-4
|
|
|
fb1054 |
- Add missing build-requires
|
|
|
fb1054 |
- Remove old obsoletes/provides
|
|
|
fb1054 |
|
|
|
fb1054 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-3
|
|
|
fb1054 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fb1054 |
|
|
|
fb1054 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
|
fb1054 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
fb1054 |
|
|
|
fb1054 |
* Wed Feb 04 2015 Michal Srb <msrb@redhat.com> - 1.6-1
|
|
|
fb1054 |
- Update to upstream version 1.6
|
|
|
fb1054 |
|
|
|
fb1054 |
* Mon Sep 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
|
|
|
fb1054 |
- Update to upstream version 1.5
|
|
|
fb1054 |
|
|
|
fb1054 |
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-6
|
|
|
fb1054 |
- Fix build-requires on parent POM
|
|
|
fb1054 |
|
|
|
fb1054 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
fb1054 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
fb1054 |
|
|
|
fb1054 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-4
|
|
|
fb1054 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
fb1054 |
|
|
|
fb1054 |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-3
|
|
|
fb1054 |
- Fix unowned directory
|
|
|
fb1054 |
|
|
|
fb1054 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
|
|
|
fb1054 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
fb1054 |
|
|
|
fb1054 |
* Tue May 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-1
|
|
|
fb1054 |
- Update to upstream version 1.4
|
|
|
fb1054 |
|
|
|
fb1054 |
* Tue Feb 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-7
|
|
|
fb1054 |
- Build with xmvn
|
|
|
fb1054 |
|
|
|
fb1054 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
|
|
|
fb1054 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fb1054 |
|
|
|
fb1054 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.3-5
|
|
|
fb1054 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
fb1054 |
- Replace maven BuildRequires with maven-local
|
|
|
fb1054 |
|
|
|
fb1054 |
* Tue Jan 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-4
|
|
|
fb1054 |
- Replace asm2 R with objectweb-asm
|
|
|
fb1054 |
- Resolves: rhbz#902641
|
|
|
fb1054 |
|
|
|
fb1054 |
* Fri Dec 21 2012 Tomas Radej <tradej@redhat.com> - 1.3-3
|
|
|
fb1054 |
- Added missing Provides/Obsoletes
|
|
|
fb1054 |
|
|
|
fb1054 |
* Thu Dec 20 2012 Tomas Radej <tradej@redhat.com> - 1.3-2
|
|
|
fb1054 |
- Removed xmvn + reworked building without it
|
|
|
fb1054 |
|
|
|
fb1054 |
* Tue Dec 18 2012 Tomas Radej <tradej@redhat.com> - 1.3-1
|
|
|
fb1054 |
- Initial package
|