Group :: Desenvolvimento/Java
RPM: geronimo-parent-poms
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-11-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: geronimo-parent-poms
Version: 1.6
Release: alt3_33jpp11
Summary: Parent POM files for geronimo-specs
License: ASL 2.0
URL: http://geronimo.apache.org/
BuildArch: noarch
# Following the parent chain all the way up ...
Source0: http://svn.apache.org/repos/asf/geronimo/specs/tags/specs-parent-%{version}/pom.xml
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
# Dependencies and plugins from the POM files
Provides: geronimo-specs = %{version}-%{release}
Source44: import.info
Conflicts: geronimo-specs < 0:1.2-alt9_16jpp6
%description
The Project Object Model files for the geronimo-specs modules.
%prep
%setup -c -T
cp -p %{SOURCE0} .
cp -p %{SOURCE1} LICENSE
%pom_remove_parent
# IDEA plugin is not really useful in Fedora
%pom_remove_plugin :maven-idea-plugin
%mvn_alias : org.apache.geronimo.specs:specs
# source/target of 1.5 is not supported in fedora
sed -i -e 's/>1\.5</>1.8</' pom.xml
%pom_xpath_inject pom:build "
<pluginManagement><plugins><plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>1.8</source>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
</plugin></plugins></pluginManagement>"
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc --no-dereference LICENSE
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-11-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: geronimo-parent-poms
Version: 1.6
Release: alt3_33jpp11
Summary: Parent POM files for geronimo-specs
License: ASL 2.0
URL: http://geronimo.apache.org/
BuildArch: noarch
# Following the parent chain all the way up ...
Source0: http://svn.apache.org/repos/asf/geronimo/specs/tags/specs-parent-%{version}/pom.xml
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
# Dependencies and plugins from the POM files
Provides: geronimo-specs = %{version}-%{release}
Source44: import.info
Conflicts: geronimo-specs < 0:1.2-alt9_16jpp6
%description
The Project Object Model files for the geronimo-specs modules.
%prep
%setup -c -T
cp -p %{SOURCE0} .
cp -p %{SOURCE1} LICENSE
%pom_remove_parent
# IDEA plugin is not really useful in Fedora
%pom_remove_plugin :maven-idea-plugin
%mvn_alias : org.apache.geronimo.specs:specs
# source/target of 1.5 is not supported in fedora
sed -i -e 's/>1\.5</>1.8</' pom.xml
%pom_xpath_inject pom:build "
<pluginManagement><plugins><plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>1.8</source>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
</plugin></plugins></pluginManagement>"
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc --no-dereference LICENSE
%changelog
…
Todas as alterações você pod ver aqui