!1 package init

Merge pull request !1 from yaokai13/master
This commit is contained in:
openeuler-ci-bot 2020-08-29 16:29:57 +08:00 committed by Gitee
commit 9a8decb434
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,40 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-transaction-1.2-api
Version: 1.0.1
Release: 1
Summary: Transaction 1.2 API
License: CDDL or GPLv2 with exceptions
Url: https://github.com/jboss/jboss-transaction-api_spec
Source0: https://github.com/jboss/jboss-transaction-api_spec/archive/jboss-transaction-api_1.2_spec-%{namedversion}.tar.gz
BuildRequires: maven-local mvn(javax.enterprise:cdi-api)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.jboss:jboss-parent:pom:)
BuildRequires: mvn(org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec)
BuildArch: noarch
%description
The Java Transaction 1.2 API classes.
%package javadoc
Summary: Javadoc for jboss-transaction-1.2-api
%description javadoc
This package contains the API documentation for jboss-transaction-1.2-api.
%prep
%setup -q -n jboss-transaction-api_spec-jboss-transaction-api_1.2_spec-%{namedversion}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
- Package init

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jboss/jboss-transaction-api_spec
tag_pattern: "jboss-transaction-api_1.2_spec-(.*?).Final"
seperator: "."

Binary file not shown.