RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/javapoet#43f08b127ea612c07237aa614d9d838bafffffdc
This commit is contained in:
Petr Šabata 2020-10-15 14:04:55 +02:00
parent 43949e561c
commit f1127383c4
3 changed files with 91 additions and 0 deletions

1
.gitignore vendored
View File

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

89
javapoet.spec Normal file
View File

@ -0,0 +1,89 @@
Name: javapoet
Version: 1.7.0
Release: 11%{?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
%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}
# remove unnecessary dependency on parent POM
%pom_remove_parent
%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
* Sun Aug 30 2020 Fabio Valentini <decathorpe@gmail.com> - 1.7.0-11
- Remove unnecessary dependency on parent POM.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.7.0-9
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* 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

1
sources Normal file
View File

@ -0,0 +1 @@
696c718ea5e585304c7ea3c8c5f42646 javapoet-1.7.0.tar.gz