[packit] 1.7.4 upstream release
Upstream tag: v1.7.4 Upstream commit: 0d899769
This commit is contained in:
parent
139fd658c5
commit
cf4183c278
|
@ -0,0 +1,50 @@
|
|||
specfile_path: rpm-head-signing.spec
|
||||
|
||||
synced_files:
|
||||
- rpm-head-signing.spec
|
||||
- .packit.yaml
|
||||
sync_changelog: true
|
||||
|
||||
upstream_package_name: rpm-head-signing
|
||||
upstream_tag_template: v{version}
|
||||
upstream_project_url: https://github.com/fedora-iot/rpm-head-signing
|
||||
downstream_package_name: rpm-head-signing
|
||||
|
||||
actions:
|
||||
get-current-version: 'python3 setup.py --version'
|
||||
|
||||
jobs:
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
metadata:
|
||||
targets:
|
||||
- fedora-all
|
||||
- epel-9-x86_64
|
||||
- epel-8-x86_64
|
||||
|
||||
- job: sync_from_downstream
|
||||
trigger: commit
|
||||
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
targets:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
|
@ -0,0 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.84.0.
|
|
@ -1,15 +1,38 @@
|
|||
Name: rpm-head-signing
|
||||
Version: 1.7.2
|
||||
Release: 1%{?dist}
|
||||
Summary: A python module for signing RPM header and file digests
|
||||
License: BSD
|
||||
URL: https://github.com/fedora-iot/rpm-head-signing
|
||||
Source0: %url/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# Currently broken in koji
|
||||
%bcond_with tests
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: rpm-devel
|
||||
# Without this, the resulting insertlib will segfault
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
%define debug_package %{nil}
|
||||
|
||||
%global pkgname rpm-head-signing
|
||||
%global srcname rpm_head_signing
|
||||
|
||||
Name: rpm-head-signing
|
||||
Version: 1.7.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Small python module to extract RPM header and file digests
|
||||
License: MIT
|
||||
URL: https://github.com/fedora-iot/rpm-head-signing
|
||||
Source0: %url/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: ima-evm-utils
|
||||
BuildRequires: ima-evm-utils-devel
|
||||
BuildRequires: rpm-devel
|
||||
BuildRequires: rpm-sign
|
||||
BuildRequires: cpio
|
||||
BuildRequires: valgrind
|
||||
BuildRequires: zstd
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-koji
|
||||
BuildRequires: python%{python3_pkgversion}-rpm
|
||||
BuildRequires: python%{python3_pkgversion}-cryptography
|
||||
BuildRequires: python%{python3_pkgversion}-pyxattr
|
||||
%{?python_provide:%python_provide python3-%{pkgname}}
|
||||
|
||||
%description
|
||||
A small Python module (with C helper) to extract a RPM header and file
|
||||
|
@ -20,26 +43,89 @@ to the server.
|
|||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
for lib in rpm_head_signing/*.py; do
|
||||
sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new
|
||||
mv $lib.new $lib
|
||||
done
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
# To make sure we get to use the installed version
|
||||
mv rpm_head_signing rpm_head_signing.orig
|
||||
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} SKIP_IMA_LIVE_CHECK=true python3 test.py
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/verify-rpm-ima-signatures
|
||||
%{python3_sitearch}/rpm_head_signing/
|
||||
%{python3_sitearch}/rpm_head_signing-*/
|
||||
%{python3_sitearch}/%{srcname}/
|
||||
%{python3_sitearch}/%{srcname}-*/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 06 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.2-1
|
||||
- Update to 1.7.2
|
||||
* Wed Oct 25 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.4-1
|
||||
- Update to 1.7.4
|
||||
- Upstream and package fixes
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
* Fri Sep 22 2023 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.7.2-1
|
||||
- fix: add sentinel to insertlib to prevent segfault
|
||||
|
||||
* Tue Jun 20 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.1-1
|
||||
- Initial package
|
||||
* Mon Oct 25 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.7-1
|
||||
- fix: remove the LENGTH header again
|
||||
|
||||
* Thu Oct 7 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.6-1
|
||||
- fix: add the LENGTH header for IMA signatures
|
||||
- feat: add a fix_ima_signatures method to fix missing length headers
|
||||
|
||||
* Mon Oct 4 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.5.1-1
|
||||
- fix: ensure that the determine function handles empty packages
|
||||
|
||||
* Wed Sep 29 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.5-1
|
||||
- feat: add determine function to determine package status
|
||||
|
||||
* Mon Sep 27 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.4.3-1
|
||||
- Fix: ignore RPM Ghost files
|
||||
- Fix: ignore empty RPMs
|
||||
|
||||
* Tue Sep 14 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.4.2-1
|
||||
- Ignore symbolic links when verifying RPMs
|
||||
|
||||
* Fri Sep 10 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.4.1-1
|
||||
- Ensure xattrs are passed in as bytes
|
||||
|
||||
* Mon Aug 23 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.4-1
|
||||
- Add verify-rpm-ima-signatures script to verify RPM signatures
|
||||
|
||||
* Mon Aug 16 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.3-1
|
||||
- Feature: fix byte order on insert_signatures
|
||||
- Fix: Compile on F32
|
||||
- Fix: Beta RPM version parsing
|
||||
|
||||
* Thu Aug 05 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.2-1
|
||||
- Generate zero digest
|
||||
|
||||
* Wed Aug 04 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.1-1
|
||||
- Fix a segfault in case of an early error
|
||||
- Update spec file to support python2
|
||||
- Support IMA injection only
|
||||
|
||||
* Wed Jun 30 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.0-1
|
||||
- Bump version to v1
|
||||
|
||||
* Wed Apr 28 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 0.1-2
|
||||
- Moved ima_lookup.so to libdir
|
||||
|
||||
* Mon Apr 26 2021 Patrick Uiterwijk <patrick@puiterwijk.org> - 0.1-1
|
||||
- Initial packaging
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (rpm-head-signing-1.7.2.tar.gz) = a4b5bde577b617295878f718e3bca1cf55f6de60a38c5b63a12cdacdff322ecc5206d7701a36522c4b06c546030c30a82b4c5363a20c187b9fac8a39ec70a71f
|
||||
SHA512 (rpm-head-signing-1.7.4.tar.gz) = 4f7beac49dc546465bc51f7485ccb1f538821ab094106a435cadb02b79fe65c85d14cc3758b6246b852b8cdbace6f8d92916be0b765a6ad0b4472ce901dbdf65
|
||||
|
|
Loading…
Reference in New Issue