Rebase to JSS 5.2.0-beta1

This commit is contained in:
Endi S. Dewata 2022-04-11 14:20:55 -05:00
parent 13d4c207f4
commit e1fb53d4aa
3 changed files with 22 additions and 5 deletions

1
.gitignore vendored
View File

@ -40,3 +40,4 @@ jss-4.2.6.tar.gz
/jss-5.0.0.tar.gz
/jss-5.1.0-alpha2.tar.gz
/jss-5.1.0.tar.gz
/jss-5.2.0-beta1.tar.gz

View File

@ -8,9 +8,9 @@ License: MPLv1.1 or GPLv2+ or LGPLv2+
# For development (i.e. unsupported) releases, use x.y.z-0.n.<phase>.
# For official (i.e. supported) releases, use x.y.z-r where r >=1.
Version: 5.1.0
Release: 1%{?_timestamp}%{?_commit_id}%{?dist}
#global _phase -alpha2
Version: 5.2.0
Release: 0.2.beta1%{?_timestamp}%{?_commit_id}%{?dist}
%global _phase -beta1
# To generate the source tarball:
# $ git clone https://github.com/dogtagpki/jss.git
@ -101,12 +101,16 @@ This package contains the API documentation for JSS.
################################################################################
%prep
################################################################################
%autosetup -n %{name}-%{version}%{?_phase} -p 1
################################################################################
%build
################################################################################
# Set build flags for CMake
# (see /usr/lib/rpm/macros.d/macros.cmake)
%set_build_flags
export JAVA_HOME=%{java_home}
@ -124,8 +128,14 @@ modutil -dbdir /etc/pki/nssdb -chkfips true | grep -q enabled && export FIPS_ENA
./build.sh \
%{?_verbose:-v} \
--work-dir=%{_vpath_builddir} \
--jni-dir=%{_jnidir} \
--prefix-dir=%{_prefix} \
--include-dir=%{_includedir} \
--lib-dir=%{_libdir} \
--sysconfig-dir=%{_sysconfigdir} \
--share-dir=%{_datadir} \
--cmake=%{__cmake} \
--java-home=%{java_home} \
--jni-dir=%{_jnidir} \
--version=%{version} \
%{!?with_javadoc:--without-javadoc} \
%{?with_tests:--with-tests} \
@ -133,6 +143,7 @@ modutil -dbdir /etc/pki/nssdb -chkfips true | grep -q enabled && export FIPS_ENA
################################################################################
%install
################################################################################
./build.sh \
%{?_verbose:-v} \
@ -142,6 +153,7 @@ modutil -dbdir /etc/pki/nssdb -chkfips true | grep -q enabled && export FIPS_ENA
################################################################################
%files
################################################################################
%defattr(-,root,root,-)
%doc jss.html
@ -152,6 +164,7 @@ modutil -dbdir /etc/pki/nssdb -chkfips true | grep -q enabled && export FIPS_ENA
%if %{with javadoc}
################################################################################
%files javadoc
################################################################################
%defattr(-,root,root,-)
%{_javadocdir}/%{name}/
@ -159,6 +172,9 @@ modutil -dbdir /etc/pki/nssdb -chkfips true | grep -q enabled && export FIPS_ENA
################################################################################
%changelog
* Mon Apr 11 2022 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.2.0-0.2.beta1
- Rebase to JSS 5.2.0-beta1
* Mon Feb 14 2022 Dogtag PKI Team <devel@lists.dogtagpki.org> - 5.1.0-1
- Rebase to JSS 5.1.0

View File

@ -1 +1 @@
SHA512 (jss-5.1.0.tar.gz) = 5bed03b443a2f9c8912e153a27469bdd6e8363465c3748c39defb19de1db1f489293ff86aeb6be7417e1b4bdc2c7915847b35521c220c68e18b2c15c24144306
SHA512 (jss-5.2.0-beta1.tar.gz) = be6f4612567676e797bb07a00cbc8e6ebab4e930770e00514152e5c3389a0484dcc3eb959c3c57d33d12ed38fbf160a02c69d1c6d5c7b40b93b9fe90cbf0bbb3