|
|
ed3130 |
%global uname jigawatts
|
|
|
ed3130 |
|
|
|
ed3130 |
# For snapshots. Currently unused.
|
|
|
ed3130 |
%global uversion a5f8e31a4a967059498f820c5728f1deb0736c69
|
|
|
ed3130 |
%global dversion %(echo %{uversion} | sed s/-/_/)
|
|
|
ed3130 |
%global shortcommit %(c=%{uversion}; echo ${c:0:7})
|
|
|
ed3130 |
%global commitdate 20210827
|
|
|
ed3130 |
|
|
|
ed3130 |
%global aarch64 aarch64 arm64 armv8
|
|
|
ed3130 |
|
|
|
ed3130 |
Name: %{uname}
|
|
|
ed3130 |
Version: 1.21.0.0.0
|
|
|
3553e7 |
Release: 3%{?dist}
|
|
|
ed3130 |
Summary: Java CRIU helper
|
|
|
ed3130 |
License: GPLv2 with exceptions
|
|
|
ed3130 |
URL: https://github.com/chflood/%{uname}
|
|
|
ed3130 |
Source0: https://github.com/chflood/%{uname}/archive/refs/tags/%{version}.tar.gz
|
|
|
ed3130 |
|
|
|
ed3130 |
BuildRequires: java-devel
|
|
|
ed3130 |
BuildRequires: criu-devel
|
|
|
ed3130 |
BuildRequires: gcc
|
|
|
ed3130 |
BuildRequires: gcc-c++
|
|
|
ed3130 |
BuildRequires: autoconf
|
|
|
ed3130 |
BuildRequires: automake
|
|
|
ed3130 |
|
|
|
ed3130 |
Requires: java-headless
|
|
|
ed3130 |
|
|
|
ed3130 |
# criu is only available on these architectures
|
|
|
ed3130 |
# https://bugzilla.redhat.com/show_bug.cgi?id=902875
|
|
|
ed3130 |
ExclusiveArch: x86_64 %{arm} ppc64le aarch64 s390x
|
|
|
ed3130 |
|
|
|
ed3130 |
%description
|
|
|
ed3130 |
CRIU is a Linux utility that allows the checkpointing and restoring
|
|
|
ed3130 |
of processes.You can read more about CRIU at criu.org. CRIU for
|
|
|
ed3130 |
Java is a package which makes it more convenient to use CRIU from
|
|
|
ed3130 |
Java.
|
|
|
ed3130 |
|
|
|
ed3130 |
%package javadoc
|
|
|
ed3130 |
Summary: Javadoc for %{name}
|
|
|
ed3130 |
%description javadoc
|
|
|
ed3130 |
Javadoc for %{name}
|
|
|
ed3130 |
|
|
|
ed3130 |
%prep
|
|
|
ed3130 |
%setup -q
|
|
|
ed3130 |
|
|
|
ed3130 |
./autogen.sh
|
|
|
ed3130 |
|
|
|
ed3130 |
%build
|
|
|
ed3130 |
|
|
|
ed3130 |
%configure
|
|
|
ed3130 |
|
|
|
ed3130 |
make
|
|
|
ed3130 |
|
|
|
ed3130 |
%install
|
|
|
ed3130 |
|
|
|
ed3130 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ed3130 |
%make_install
|
|
|
ed3130 |
|
|
|
ed3130 |
%files
|
|
|
ed3130 |
%dir %{_pkgdocdir}
|
|
|
ed3130 |
%doc %{_pkgdocdir}/README.md
|
|
|
ed3130 |
%dir %{_defaultlicensedir}/%{name}
|
|
|
ed3130 |
%license %{_defaultlicensedir}/%{name}/LICENSE.md
|
|
|
ed3130 |
%dir %{_javadir}/%{name}
|
|
|
ed3130 |
%{_javadir}/%{name}/%{uname}.jar
|
|
|
ed3130 |
%{_libdir}/libJigawatts.so
|
|
|
ed3130 |
|
|
|
ed3130 |
%files javadoc
|
|
|
ed3130 |
%{_javadocdir}/%{name}
|
|
|
ed3130 |
|
|
|
ed3130 |
%changelog
|
|
|
3553e7 |
* Sat Feb 19 2022 Andrew Hughes <gnu.andrew@redhat.com> - 1.21.0.0.0-3
|
|
|
3553e7 |
- Bump release for RHEL 8.6 build.
|
|
|
3553e7 |
- Resolves: rhbz#2000911
|
|
|
3553e7 |
|
|
|
3553e7 |
* Thu Sep 02 2021 Jiri Vanek <jvanek@redhat.com> - 1.21.0.0.0-2
|
|
|
3553e7 |
- Added gating.yaml
|
|
|
3553e7 |
- Resolves: rhbz#2000911
|
|
|
ed3130 |
|
|
|
ed3130 |
* Tue Aug 31 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1.21.0.0.0-1
|
|
|
ed3130 |
- Rebase to upstream release, 1.21.0.0.0.
|
|
|
ed3130 |
- Resolves: rhbz#1972024
|
|
|
ed3130 |
|
|
|
ed3130 |
* Sun Aug 29 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1.0~SNAPSHOT^20210827.a5f8e31-1
|
|
|
ed3130 |
- Store the upstream version (currently "1.0-SNAPSHOT") and snapshot info completely in the Version field rather than using Release.
|
|
|
ed3130 |
- Resolves: rhbz#1972024
|
|
|
ed3130 |
|
|
|
ed3130 |
* Sat Aug 28 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.4.20210807b2d3751
|
|
|
ed3130 |
- Update to latest upstream version with renamed package and consistent use of "jigawatts"
|
|
|
ed3130 |
- Drop library patch which is no longer needed.
|
|
|
ed3130 |
- Resolves: rhbz#1972024
|
|
|
ed3130 |
|
|
|
ed3130 |
* Mon Aug 02 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.3.20210802a3007aa
|
|
|
ed3130 |
- Rewrite to use autotools build system, avoiding need for Maven dependencies missing in RHEL 9.
|
|
|
ed3130 |
- This also ensures use of the standard build flags and installs the jar in the expected location.
|
|
|
ed3130 |
- Resolves: rhbz#1972024
|
|
|
ed3130 |
|
|
|
ed3130 |
* Wed Jul 21 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.1.20210701c15dd4c
|
|
|
ed3130 |
- Remove maven-surefire-provider-junit5 dependency as it doesn't exist in RHEL 8.
|
|
|
ed3130 |
- Correct some typos.
|
|
|
ed3130 |
- Unable to build until criu-devel is available in RHEL 8.
|
|
|
ed3130 |
- Resolves: rhbz#1972024
|
|
|
ed3130 |
|
|
|
ed3130 |
* Thu Jul 01 2021 Jiri Vanek <jvanek@redhat.com> - 0.2-0.1.20210701c15dd4c
|
|
|
ed3130 |
- criu-devel moved to BR
|
|
|
ed3130 |
- now requires criu-libs
|
|
|
ed3130 |
- enabled debuginfo generation
|
|
|
ed3130 |
- excluded i686 build as criu is 64b only
|
|
|
ed3130 |
- .so file moved out of jar. Required teo patches:
|
|
|
ed3130 |
- added and applied patch0 output_loc.patch
|
|
|
ed3130 |
- added and applied patch1 load_library.patch
|
|
|
ed3130 |
- on aarch64 workarounded missing lib64 on /usr/LD_LIBRARY_PATH
|
|
|
ed3130 |
- Resolves: rhbz#1972024
|
|
|
ed3130 |
|
|
|
ed3130 |
* Wed Apr 14 2021 Jiri Vanek <jvanek@redhat.com> - 0.2-0.1.20210701c15dd4c
|
|
|
ed3130 |
- initial build
|
|
|
ed3130 |
- added requires of criu-devel
|
|
|
ed3130 |
- Resolves: rhbz#1972024
|