Compare commits

...

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

@ -1,2 +1,2 @@
e0bb392b776f97163a0e25216d937102e382341b SOURCES/clevis-pin-tpm2-0.5.3-vendor.tar.xz 3cca4797cb447ec9414f5481c44291539d610de1 SOURCES/clevis-pin-tpm2-0.5.1.tar.gz
4de356b1b7be7ec28f0782e44dcd2c58200ee307 SOURCES/clevis-pin-tpm2-0.5.3.tar.gz 59bdc74ad0d54c73a1c3b2509361e52106f775c4 SOURCES/clevis-pin-tpm2-v0.5.1-vendor.tar.gz

4
.gitignore vendored

@ -1,2 +1,2 @@
SOURCES/clevis-pin-tpm2-0.5.3-vendor.tar.xz SOURCES/clevis-pin-tpm2-0.5.1.tar.gz
SOURCES/clevis-pin-tpm2-0.5.3.tar.gz SOURCES/clevis-pin-tpm2-v0.5.1-vendor.tar.gz

@ -1,29 +1,22 @@
# Needs a TPMv2 %bcond_without check
%bcond_with check
%global __cargo_skip_build 0 %global __cargo_skip_build 0
%global __cargo_is_lib() false %global __cargo_is_lib() false
Name: clevis-pin-tpm2 Name: clevis-pin-tpm2
Version: 0.5.3 Version: 0.5.1
Release: 6%{?dist} Release: 2%{?dist}
Summary: Clevis PIN for unlocking with TPM2 supporting Authorized Policies Summary: Clevis PIN for unlocking with TPM2 supporting Authorized Policies
License: MIT License: MIT
URL: https://github.com/fedora-iot/clevis-pin-tpm2/ URL: https://github.com/fedora-iot/clevis-pin-tpm2/
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# To create the vendor tarball: Source1: %{name}-v%{version}-vendor.tar.gz
# tar xf %%{name}-%%{version}.crate ; pushd %%{name}-%%{version} ; \
# cargo vendor && tar Jcvf ../%%{name}-%%{version}-vendor.tar.xz vendor/ ; popd
Source1: %{name}-%{version}-vendor.tar.xz
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if 0%{?rhel} # RHBZ 1869980
ExcludeArch: s390x i686 %{power64}
BuildRequires: rust-toolset BuildRequires: rust-toolset
%else
BuildRequires: rust-packaging
%endif
BuildRequires: clang-devel
BuildRequires: openssl-devel
BuildRequires: tpm2-tss-devel BuildRequires: tpm2-tss-devel
Requires: clevis Requires: clevis
@ -31,23 +24,11 @@ Requires: clevis
%{summary}. %{summary}.
%prep %prep
%autosetup -p1 %{?rhel:-a1} %autosetup -p1
%if 0%{?rhel} %cargo_prep -V 1
%cargo_prep -v vendor
%else
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%endif
%build %build
%cargo_build %cargo_build
%cargo_license_summary
%{cargo_license} > LICENSE.dependencies
%if 0%{?rhel}
%cargo_vendor_manifest
%endif
%install %install
%cargo_install %cargo_install
@ -61,62 +42,21 @@ ln -s /usr/bin/clevis-pin-tpm2 %{buildroot}/usr/bin/clevis-decrypt-tpm2plus
%files %files
%license LICENSE %license LICENSE
%license LICENSE.dependencies
%if 0%{?rhel}
%license cargo-vendor.txt
%endif
%{_bindir}/clevis-pin-tpm2 %{_bindir}/clevis-pin-tpm2
%{_bindir}/clevis-*-tpm2plus %{_bindir}/clevis-*-tpm2plus
%changelog %changelog
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.5.3-6 * Fri Dec 10 2021 Antonio Murdaca <runcom@linux.com> - 0.5.1-2
- Bump release for June 2024 mass rebuild - rebuilt to disable annocheck for Rust code
* Fri Feb 02 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 0.5.3-5
- Update Rust macro usage
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Dec 01 2023 Fabio Valentini <decathorpe@gmail.com> - 0.5.3-2
- Rebuild for openssl crate >= v0.10.60 (RUSTSEC-2023-0044, RUSTSEC-2023-0072)
* Fri Jul 28 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.3-1
- Update to 0.5.3
* Wed Jul 19 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.5.2-7
- Use vendored dependencies in RHEL builds
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed May 03 2023 Fabio Valentini <decathorpe@gmail.com> - 0.5.2-5
- Rebuild for openssl crate >= v0.10.48 (RUSTSEC-2023-{0022,0023,0024})
* Tue Feb 07 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.2-4
- Rebuild for tss-esapi 7.2.0
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Apr 22 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.2-1
- Update to 0.5.2
- License EUPL 1.2 -> MIT
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2 * Thu Dec 09 2021 Antonio Murdaca <runcom@linux.com> - 0.5.1-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - rebuilt to add gating and relicense to MIT
* Wed Dec 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.0-1 * Thu Dec 09 2021 Antonio Murdaca <runcom@linux.com> - 0.5.0-1
- Update to 0.5.0 - bump to 0.5.0
* Wed Nov 03 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.4.1-1 * Mon Oct 4 2021 Antonio Murdaca <amurdaca@redhat.com> - 0.4.1-1
- Update to 0.4.1 - import in c9s and rhel9
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save