import javapoet-1.7.0-6.module+el8.1.1+4657+f90e8085

This commit is contained in:
CentOS Sources 2020-02-07 03:22:47 -05:00 committed by Andrew Lukoshko
commit 3bb6e9e936
3 changed files with 74 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/javapoet-1.7.0.tar.gz

1
.javapoet.metadata Normal file
View File

@ -0,0 +1 @@
6cca6aa156a4e074100ae232b3561b2915099cb1 SOURCES/javapoet-1.7.0.tar.gz

72
SPECS/javapoet.spec Normal file
View File

@ -0,0 +1,72 @@
Name: javapoet
Version: 1.7.0
Release: 6%{?dist}
Summary: A Java API for generating .java source files
License: ASL 2.0
URL: https://github.com/square/javapoet
Source0: https://github.com/square/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%if 0
# test dependencies
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.eclipse.jdt.core.compiler:ecj:4.4.2)
BuildRequires: mvn(org.mockito:mockito-core:1.10.16)
# missing test dependencies
BuildRequires: mvn(com.google.jimfs:jimfs:1.0)
BuildRequires: mvn(com.google.testing.compile:compile-testing:0.6)
BuildRequires: mvn(com.google.truth:truth:0.25)
%endif
BuildArch: noarch
%description
A utility class which aids in generating Java source files.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%pom_remove_plugin :maven-checkstyle-plugin
%mvn_file : %{name}
%build
# skip tests due to missing test dependencies
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc CHANGELOG.md README.md
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Oct 25 2016 Tomas Repik <trepik@redhat.com> - 1.7.0-1
- initial rpm