Group :: Desenvolvimento/Java
RPM: options
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: options
Version: 1.7
Release: alt1_3jpp11
Summary: Library for managing sets of JVM properties to configure an app or library
License: ASL 2.0
URL: https://github.com/headius/%{name}
BuildArch: noarch
Source0: https://github.com/headius/%{name}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
Source44: import.info
%description
Provides a simple mechanism for defining JVM property-based
configuration for an application or library.
%{?javadoc_package}
%prep
%setup -q -n %{name}-%{name}-%{version}
# remove unnecessary dependency on parent POM
%pom_remove_parent
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc --no-dereference LICENSE
%doc README.md
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: options
Version: 1.7
Release: alt1_3jpp11
Summary: Library for managing sets of JVM properties to configure an app or library
License: ASL 2.0
URL: https://github.com/headius/%{name}
BuildArch: noarch
Source0: https://github.com/headius/%{name}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
Source44: import.info
%description
Provides a simple mechanism for defining JVM property-based
configuration for an application or library.
%{?javadoc_package}
%prep
%setup -q -n %{name}-%{name}-%{version}
# remove unnecessary dependency on parent POM
%pom_remove_parent
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc --no-dereference LICENSE
%doc README.md
%changelog
…
Todas as alterações você pod ver aqui