ad3d46
Name:           jdependency
ad3d46
Version:        1.2
ad3d46
Release:        4%{?dist}
ad3d46
Summary:        This project provides an API to analyse class dependencies
ad3d46
License:        ASL 2.0
ad3d46
URL:            http://github.com/tcurdt/%{name}
ad3d46
BuildArch:      noarch
ad3d46
ad3d46
Source0:        http://github.com/tcurdt/%{name}/archive/%{name}-%{version}.tar.gz
ad3d46
ad3d46
BuildRequires:  maven-local
ad3d46
BuildRequires:  mvn(commons-io:commons-io)
ad3d46
BuildRequires:  mvn(junit:junit)
ad3d46
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
ad3d46
BuildRequires:  mvn(org.ow2.asm:asm)
ad3d46
BuildRequires:  mvn(org.ow2.asm:asm-analysis)
ad3d46
BuildRequires:  mvn(org.ow2.asm:asm-commons)
ad3d46
BuildRequires:  mvn(org.ow2.asm:asm-tree)
ad3d46
BuildRequires:  mvn(org.ow2.asm:asm-util)
ad3d46
ad3d46
%description
ad3d46
%{name} is small library that helps you analyze class level
ad3d46
dependencies, clashes and missing classes.
ad3d46
ad3d46
%package javadoc
ad3d46
Summary:        API documentation for %{name}
ad3d46
ad3d46
%description javadoc
ad3d46
%{summary}.
ad3d46
ad3d46
%prep
ad3d46
%setup -q -n %{name}-%{name}-%{version}
ad3d46
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.6
ad3d46
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6
ad3d46
%mvn_file : %{name}
ad3d46
ad3d46
# Test does not work with OpenJDK 11
ad3d46
rm -f src/test/java/org/vafer/jdependency/DependencyUtilsTestCase.java
ad3d46
ad3d46
%build
ad3d46
%mvn_build
ad3d46
ad3d46
%install
ad3d46
%mvn_install
ad3d46
ad3d46
%files -f .mfiles
ad3d46
%doc README.md
ad3d46
%license LICENSE.txt
ad3d46
ad3d46
%files javadoc -f .mfiles-javadoc
ad3d46
%license LICENSE.txt
ad3d46
ad3d46
%changelog
ad3d46
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-4
ad3d46
- Mass rebuild for javapackages-tools 201902
ad3d46
ad3d46
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-3
ad3d46
- Mass rebuild for javapackages-tools 201901
ad3d46
ad3d46
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ad3d46
ad3d46
* Tue Sep 12 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-1
ad3d46
- Update to upstream version 1.2
ad3d46
ad3d46
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ad3d46
ad3d46
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ad3d46
ad3d46
* Mon Jun 06 2016 Michael Simacek <msimacek@redhat.com> - 1.1-1
ad3d46
- Update to upstream version 1.1
ad3d46
ad3d46
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-4
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ad3d46
ad3d46
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ad3d46
ad3d46
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ad3d46
ad3d46
* Mon May 05 2014 Michal Srb <msrb@redhat.com> - 0.9-1
ad3d46
- Update to upstream version 0.9
ad3d46
ad3d46
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.7-10
ad3d46
- Use Requires: java-headless rebuild (#1067528)
ad3d46
ad3d46
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-9
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ad3d46
ad3d46
* Fri Jun 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-8
ad3d46
- Update to current packaging guidelines
ad3d46
- Fix test failures
ad3d46
ad3d46
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-7
ad3d46
- Remove unneeded BR: maven-idea-plugin
ad3d46
ad3d46
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-6
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ad3d46
ad3d46
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.7-5
ad3d46
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
ad3d46
- Replace maven BuildRequires with maven-local
ad3d46
ad3d46
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ad3d46
ad3d46
* Fri Jun 29 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.7-3
ad3d46
- Fix date ordering in changelog
ad3d46
- Guidelines fixes
ad3d46
ad3d46
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ad3d46
ad3d46
* Tue Dec 13 2011 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.7-1
ad3d46
- Update to 0.7
ad3d46
- Fix BR to not require maven2
ad3d46
- Fix BR for new package name
ad3d46
- Adjust spec to new guidelines
ad3d46
ad3d46
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
ad3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ad3d46
ad3d46
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6-3
ad3d46
- Add license to javadoc subpackage
ad3d46
- Change jakarta-commons-io for apache-commons-io
ad3d46
- Add BR to maven
ad3d46
ad3d46
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6-2
ad3d46
- Rename from vafer-jdependency to jdependency alone
ad3d46
ad3d46
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6-1
ad3d46
- Initial package