Blame SPECS/maven-dependency-tree.spec

a7f3e5
%{?scl:%scl_package maven-dependency-tree}
a7f3e5
%{!?scl:%global pkg_name %{name}}
a7f3e5
a7f3e5
a7f3e5
Name:          %{?scl_prefix}maven-dependency-tree
a7f3e5
Version:       3.0
a7f3e5
Release:       3.2%{?dist}
a7f3e5
Summary:       Maven dependency tree artifact
a7f3e5
Group:         Development/Libraries
a7f3e5
License:       ASL 2.0
a7f3e5
Url:           http://maven.apache.org/
a7f3e5
Source0:       http://repo1.maven.org/maven2/org/apache/maven/shared/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
a7f3e5
BuildArch:     noarch
a7f3e5
a7f3e5
BuildRequires:  %{?scl_prefix}maven-local
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-compat)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-core)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugins:maven-invoker-plugin)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-plugin-testing-harness)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-shared-components:pom:)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-annotations)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-metadata)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.eclipse.aether:aether-api)
a7f3e5
BuildRequires:  %{?scl_prefix}mvn(org.eclipse.aether:aether-util)
a7f3e5
a7f3e5
Provides:      %{?scl_prefix}maven-shared-dependency-tree = %{version}-%{release}
a7f3e5
a7f3e5
%description
a7f3e5
Apache Maven dependency tree artifact. Originally part of maven-shared.
a7f3e5
a7f3e5
%package javadoc
a7f3e5
Group:         Documentation
a7f3e5
Summary:       Javadoc for %{pkg_name}
a7f3e5
a7f3e5
%description javadoc
a7f3e5
This package contains javadoc for %{pkg_name}.
a7f3e5
a7f3e5
%prep
a7f3e5
%setup -n %{pkg_name}-%{version} -q
a7f3e5
a7f3e5
find -name Maven3DependencyGraphBuilder.java -delete
a7f3e5
%pom_remove_dep org.sonatype.aether:
a7f3e5
a7f3e5
%pom_remove_plugin :apache-rat-plugin
a7f3e5
a7f3e5
%build
a7f3e5
# Incompatible version of jMock (Fedora has 2.x, upstream uses 1.x)
a7f3e5
%mvn_build -f
a7f3e5
a7f3e5
%install
a7f3e5
%mvn_install
a7f3e5
a7f3e5
%files -f .mfiles
a7f3e5
%dir %{_javadir}/%{pkg_name}
a7f3e5
%doc LICENSE NOTICE
a7f3e5
a7f3e5
%files javadoc -f .mfiles-javadoc
a7f3e5
%doc LICENSE NOTICE
a7f3e5
a7f3e5
%changelog
a7f3e5
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 3.0-3.2
a7f3e5
- Mass rebuild 2017-06-22
a7f3e5
a7f3e5
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 3.0-3.1
a7f3e5
- Automated package import and SCL-ization
a7f3e5
a7f3e5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-3
a7f3e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a7f3e5
a7f3e5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
a7f3e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a7f3e5
a7f3e5
* Fri Oct  9 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0-1
a7f3e5
- Update to upstream version 3.0
a7f3e5
a7f3e5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
a7f3e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a7f3e5
a7f3e5
* Tue Sep 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-1
a7f3e5
- Update to upstream version 2.2
a7f3e5
a7f3e5
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-8
a7f3e5
- Fix build-requires on parent POM
a7f3e5
a7f3e5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-7
a7f3e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a7f3e5
a7f3e5
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-6
a7f3e5
- Use Requires: java-headless rebuild (#1067528)
a7f3e5
a7f3e5
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-5
a7f3e5
- Fix unowned directory
a7f3e5
a7f3e5
* Fri Jan 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-4
a7f3e5
- Update to Maven 3 APIs
a7f3e5
a7f3e5
* Thu Oct  3 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-3
a7f3e5
- Add missing BuildRequires
a7f3e5
a7f3e5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
a7f3e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a7f3e5
a7f3e5
* Wed Jul 24 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-1
a7f3e5
- Remove dependency on Sonatype Aether
a7f3e5
- Resolves: rhbz#985704
a7f3e5
a7f3e5
* Mon Jul 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-1
a7f3e5
- Update to upstream version 2.1
a7f3e5
a7f3e5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
a7f3e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a7f3e5
a7f3e5
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.0-3
a7f3e5
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
a7f3e5
- Replace maven BuildRequires with maven-local
a7f3e5
a7f3e5
* Thu Jan 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0-2
a7f3e5
- Build with xmvn
a7f3e5
a7f3e5
* Wed Oct 24 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-1
a7f3e5
- Initial package