%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: jboss-annotations-1.2-api Version: 1.0.2 Release: 1 Summary: Common Annotations 1.2 API License: CDDL-1.1 or GPL-2.0-with-classpath-exception URL: https://github.com/jboss/jboss-annotations-api_spec Source0: https://github.com/jboss/jboss-annotations-api_spec/archive/jboss-annotations-api_1.2_spec-%{namedversion}.tar.gz BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.jboss:jboss-parent:pom:) BuildArch: noarch %description This package contains Common Annotations 1.2 API. %package help Summary: Javadoc for %{name} Provides: %{name}-javadoc = %{version}-%{release} Obsoletes: %{name}-javadoc < %{version}-%{release} %description help This package contains the API documentation for %{name}. %prep %autosetup -p1 -n jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-%{namedversion} %pom_remove_plugin :maven-source-plugin %build %mvn_build %install %mvn_install %files -f .mfiles %doc README %license LICENSE %files help -f .mfiles-javadoc %changelog * Tue Jun 21 2022 SimpleUpdate Robot - 1.0.2-1 - Upgrade to version 1.0.2 * Mon Aug 24 2020 liyanan - 1.0.0-1 - package init