1 |
Name: javapoet |
Name: javapoet |
2 |
Version: 1.11.1 |
Version: 1.7.0 |
3 |
Release: %mkrel 1 |
Release: %mkrel 3 |
4 |
Group: Development/Java |
Group: Development/Java |
5 |
Summary: A Java API for generating .java source files |
Summary: A Java API for generating .java source files |
6 |
License: ASL 2.0 |
License: ASL 2.0 |
8 |
Source0: https://github.com/square/%{name}/archive/%{name}-%{version}.tar.gz |
Source0: https://github.com/square/%{name}/archive/%{name}-%{version}.tar.gz |
9 |
|
|
10 |
BuildRequires: maven-local |
BuildRequires: maven-local |
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) |
|
11 |
|
|
12 |
%if 0 |
%if 0 |
13 |
# test dependencies |
# test dependencies |
21 |
%endif |
%endif |
22 |
|
|
23 |
BuildArch: noarch |
BuildArch: noarch |
24 |
|
ExclusiveArch: %{java_arches} noarch |
25 |
|
|
26 |
%description |
%description |
27 |
A utility class which aids in generating Java source files. |
A utility class which aids in generating Java source files. |
35 |
%prep |
%prep |
36 |
%setup -q -n %{name}-%{name}-%{version} |
%setup -q -n %{name}-%{name}-%{version} |
37 |
|
|
38 |
|
# remove unnecessary dependency on parent POM |
39 |
|
%pom_remove_parent |
40 |
|
|
41 |
%pom_remove_plugin :maven-checkstyle-plugin |
%pom_remove_plugin :maven-checkstyle-plugin |
42 |
|
|
43 |
%mvn_file : %{name} |
%mvn_file : %{name} |