!3 Bring source file into correspondence with described in spec file

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-11-11 07:16:21 +00:00 committed by Gitee
commit fbe4b12666
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 6 deletions

View File

@ -2,13 +2,11 @@
%global namedversion %{version}%{?namedreltag}
Name: jboss-jaspi-1.0-api
Version: 1.0.1
Release: 1
Release: 2
Summary: JBoss Java Authentication SPI for Containers 1.0 API
License: CDDL or GPLv2 with exceptions
License: CDDL-1.0 or GPL-2.0-only with exceptions
URL: http://www.jboss.org
# git clone git://github.com/jboss/jboss-jaspi-api_spec.git
# cd jboss-jaspi-api_spec/ && git archive --format=tar --prefix=jboss-jaspi-1.0-api/ jboss-jaspi-api_1.0_spec-1.0.1.Final | xz > jboss-jaspi-1.0-api-1.0.1.Final.tar.xz
Source0: %{name}-%{namedversion}.tar.xz
Source0: https://github.com/jboss/jboss-jaspi-api_spec/archive/refs/tags/jboss-jaspi-api_1.0_spec-1.0.1.Final.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:) xmvn
@ -22,7 +20,7 @@ Summary: Javadoc for %{name}
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-jaspi-1.0-api
%setup -q -n jboss-jaspi-api_spec-jboss-jaspi-api_1.0_spec-1.0.1.Final
%pom_remove_plugin :maven-source-plugin
files='
src/main/java/javax/security/auth/message/callback/PasswordValidationCallback.java
@ -52,5 +50,8 @@ done
%license LICENSE
%changelog
* Thu Nov 10 2022 Ge Wang <wangge20@h-partners.com> - 1.0.1-2
- Bring source file into correspondence with described in spec file
* Fri Aug 14 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
- Package init

Binary file not shown.