%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: wildfly-elytron Version: 1.6.8 Release: 1 Summary: Security, Authentication, and Authorization SPIs for the WildFly project License: ASL 2.0 and LGPLv2+ URL: http://wildfly.org/ Source0: https://github.com/wildfly-security/wildfly-elytron/archive/refs/tags/%{namedversion}.tar.gz Source1: xmvn-reactor BuildRequires: maven-local java-1.8.0-openjdk-devel maven BuildArch: noarch %description WildFly Elytron is a new WildFly sub-project which is completely replacing the combination of PicketBox and JAAS as the WildFly client and server security mechanism. An "elytron" (ĕl´·ĭ·trŏn, plural "elytra") is the hard, protective casing over a wing of certain flying insects (e.g. beetles). %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{namedversion} rm -rf src/test/java/org/wildfly/security/x500/cert/acme/AcmeClientSpiTest.java cp %{SOURCE1} ./.xmvn-reactor echo `pwd` > absolute_prefix.log sed -i 's/\//\\\//g' absolute_prefix.log absolute_prefix=`head -n 1 absolute_prefix.log` sed -i 's/absolute-prefix/'"$absolute_prefix"'/g' .xmvn-reactor %pom_remove_plugin :maven-checkstyle-plugin %mvn_file org.wildfly.security:%{name} %{name} %build ulimit -n 2048 mvn package verify org.apache.maven.plugins:maven-javadoc-plugin:aggregate %install %mvn_install %files -f .mfiles %doc README.md %license LICENSE.txt %files javadoc /usr/share/javadoc/wildfly-elytron %license LICENSE.txt %changelog * Thu Oct 20 2022 caodongxia - 1.2.0-1 - upgrade to version 1.2.0 * Fri Dec 24 2021 wangkai - 1.0.2-2 - This package depends on log4j.After the log4j vulnerability CVE-2021-45105 is fixed,the version needs to be rebuild. * Mon Aug 17 2020 maminjie - 1.0.2-1 - package init