# https://src.fedoraproject.org/rpms/ee4j-parent/raw/jmc/f/ee4j-parent.spec %{?scl:%scl_package ee4j-parent} %{!?scl:%global pkg_name %{name}} Name: %{scl_prefix}ee4j-parent Version: 1.0.1 Release: 2%{?dist} Summary: Parent POM file for Eclipse Enterprise for Java projects License: EPL-2.0 or GPLv2 with exceptions URL: https://github.com/eclipse-ee4j/ee4j Source0: https://github.com/eclipse-ee4j/ee4j/archive/1.0.1.tar.gz BuildArch: noarch BuildRequires: %{?scl_prefix_maven}maven-local %{?scl:Requires: %scl_runtime} %description Eclipse Enterprise for Java (EE4J) is an open source initiative to create standard APIs, implementations of those APIs, and technology compatibility kits for Java run-times that enable development, deployment, and management of server-side and cloud-native applications. %global tarball_name ee4j-%{version} %prep %setup -q -n %{tarball_name} mv %{_builddir}/%{tarball_name}/parent/pom.xml %{_builddir}/%{tarball_name}/pom.xml rm -r %{_builddir}/%{tarball_name}/parent/ %build %{?scl:scl enable %{scl_maven} %{scl} - << "EOFSCL"} %mvn_build %{?scl:EOFSCL} %install %{?scl:scl enable %{scl_maven} %{scl} - << "EOFSCL"} %mvn_install %{?scl:EOFSCL} %files -f .mfiles %doc README.md %changelog * Mon Nov 19 2018 Jie Kang - 1.0.1-2 - SCL-ize package * Fri Sep 21 2018 Salman Siddiqui - 1.0.1-1 - Initial packaging