Bring source file into correspondence with described in spec file

This commit is contained in:
wang--ge 2022-11-10 16:43:03 +08:00
parent 2ff2abeee9
commit aab5d66000
3 changed files with 7 additions and 6 deletions

View File

@ -2,13 +2,11 @@
%global namedversion %{version}%{?namedreltag}
Name: jboss-servlet-2.5-api
Version: 1.0.1
Release: 1
Release: 2
Summary: Java Servlet 2.5 API
License: ASL 2.0 and W3C
License: Apache-2.0 and W3C
Url: http://www.jboss.org
# git clone git://github.com/jboss/jboss-servlet-api_spec.git
# cd jboss-servlet-api_spec/ && git archive --format=tar --prefix=jboss-servlet-2.5-api/ jboss-servlet-api_2.5_spec-1.0.1.Final | xz > jboss-servlet-2.5-api-1.0.1.Final.tar.xz
Source0: jboss-servlet-2.5-api-%{namedversion}.tar.xz
Source0: https://github.com/jboss/jboss-servlet-api_spec/archive/refs/tags/jboss-servlet-api_2.5_spec-1.0.1.Final.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss.spec:jboss-specs-parent:pom:)
BuildArch: noarch
@ -21,7 +19,7 @@ Summary: Javadoc for jboss-servlet-2.5-api
This package contains the API documentation for jboss-servlet-2.5-api.
%prep
%setup -q -n jboss-servlet-2.5-api
%setup -q -n jboss-servlet-api_spec-jboss-servlet-api_2.5_spec-1.0.1.Final
%mvn_file : jboss-servlet-2.5-api
%build
@ -37,5 +35,8 @@ This package contains the API documentation for jboss-servlet-2.5-api.
%license LICENSE NOTICE
%changelog
* Thu Nov 10 2022 Ge Wang <wangge20@h-partners.com> - 1.0.1-2
- Bring source file into correspondence with descirbed in spec file
* Fri Aug 14 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
- Package init

Binary file not shown.