jboss-annotations-1.2-api/jboss-annotations-1.2-api.spec
wk333 7bd4a82973 Package upgrade
(cherry picked from commit c44596d4e0de191ff4a42f99c7db942c7f1e14b2)
2022-10-21 15:42:59 +08:00

45 lines
1.4 KiB
RPMSpec

%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 <tc@openeuler.org> - 1.0.2-1
- Upgrade to version 1.0.2
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.0.0-1
- package init