Bring source file into correspondence with described in spec file

This commit is contained in:
wang--ge 2022-11-11 17:22:57 +08:00
parent 478c709657
commit e75edccc27
3 changed files with 9 additions and 6 deletions

BIN
1.0.0.final.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -2,13 +2,11 @@
%global namedversion %{version}%{?namedreltag}
Name: picketbox-commons
Version: 1.0.0
Release: 1
Release: 2
Summary: Common classes for security projects
License: LGPLv2+
License: LGPL-2.0-or-later
URL: http://www.jboss.org/picketbox
# svn export http://anonsvn.jboss.org/repos/picketbox/commons/tags/1.0.0.final/picketbox-commons/ picketbox-commons-1.0.0.final
# tar cJf picketbox-commons-1.0.0.final.tar.xz picketbox-commons-1.0.0.final
Source0: picketbox-commons-%{namedversion}.tar.xz
Source0: https://github.com/picketbox/commons/archive/refs/tags/%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(org.jboss:jboss-parent:pom:)
%description
@ -20,7 +18,9 @@ Summary: Javadoc for %{name}
API documentation for %{name}.
%prep
%setup -q -n %{name}-%{namedversion}
%setup -q -n commons-%{namedversion}
mv %{name}/* .
rm -rf %{name}
%build
%mvn_build
@ -33,5 +33,8 @@ API documentation for %{name}.
%files javadoc -f .mfiles-javadoc
%changelog
* Fri Nov 11 2022 Ge Wang <wangge20@h-partners.com> - 1.0.0-2
- Bring source file into correspondence with discribed in spec file
* Sat Aug 15 2020 zhanghua <zhanghua40@huawei.com> - 1.0.0-1
- Package init