Skip to content

Commit

Permalink
Update parsec to version 1.4.0~rc2 / rev 23 via SR 1163363
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1163363
by user Guillaume_G + anag+factory
  • Loading branch information
Guillaume_G authored and bmwiedemann committed Mar 29, 2024
1 parent 5ca25c8 commit c3f7d15
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 17 deletions.
Binary file modified packages/p/parsec/.files
Binary file not shown.
8 changes: 8 additions & 0 deletions packages/p/parsec/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,12 @@
<comment></comment>
<requestid>1121140</requestid>
</revision>
<revision rev="23" vrev="1">
<srcmd5>ce2a7e2fbc0dc72d6be7f3aac91299cd</srcmd5>
<version>1.4.0~rc2</version>
<time>1711714201</time>
<user>anag+factory</user>
<comment></comment>
<requestid>1163363</requestid>
</revision>
</revisionlist>
4 changes: 2 additions & 2 deletions packages/p/parsec/_service
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<services>
<service name="cargo_vendor" mode="manual">
<param name="compression">xz</param>
<param name="srcdir">parsec-1.3.0</param>
<param name="srcdir">parsec-1.4.0-rc1</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="manual">
<param name="srcdir">parsec-1.3.0</param>
<param name="srcdir">parsec-1.4.0-rc1</param>
</service>
</services>
5 changes: 0 additions & 5 deletions packages/p/parsec/cargo_config

This file was deleted.

1 change: 0 additions & 1 deletion packages/p/parsec/parsec-1.3.0.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/parsec/parsec-1.4.0-rc2.tar.gz
6 changes: 6 additions & 0 deletions packages/p/parsec/parsec.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 28 15:23:19 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>

- Update to 1.4.0-rc2:
* Full changelog: https://github.com/parallaxsecond/parsec/compare/1.3.0...1.4.0-rc2

-------------------------------------------------------------------
Mon Oct 30 08:40:35 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>

Expand Down
21 changes: 13 additions & 8 deletions packages/p/parsec/parsec.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package parsec
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -17,18 +17,17 @@


%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
%define archive_version 1.3.0
%define archive_version 1.4.0-rc2

%{?systemd_ordering}
Name: parsec
Version: 1.3.0
Version: 1.4.0~rc2
Release: 0
Summary: Platform AbstRaction for SECurity
License: Apache-2.0
URL: https://parallaxsecond.github.io/parsec-book
Source0: https://github.com/parallaxsecond/parsec/archive/%{archive_version}.tar.gz#/parsec-%{archive_version}.tar.gz
Source1: vendor.tar.xz
Source2: cargo_config
Source3: parsec.service
Source4: config.toml
Source5: parsec.conf
Expand All @@ -52,7 +51,6 @@ BuildRequires: sysuser-tools
BuildRequires: pkgconfig(tss2-esys) >= 2.3.3
# opensc is used to initialize HSM keys (PKCS#11 backend)
Recommends: opensc
%sysusers_requires
# /dev/tpm* are owned by tss user
Requires(pre): system-user-tss
# tpm2-0-tss holds the udev rule to make /dev/tpm* owned by tss user
Expand All @@ -67,12 +65,17 @@ a common API to hardware security and cryptographic services in a platform-agnos
This abstraction layer keeps workloads decoupled from physical platform details,
enabling cloud-native delivery flows within the data center and at the edge.

%package -n system-user-parsec
Summary: System user and group parsec
%sysusers_requires

%description -n system-user-parsec
Package to install system user 'parsec'

%prep
%setup -q -a1 -a10 -n parsec-%{archive_version}
rmdir trusted-services-vendor
mv trusted-services-389b506 trusted-services-vendor
rm -rf .cargo && mkdir .cargo
cp %{SOURCE2} .cargo/config
# Enable all providers
sed -i -e 's#default = \["unix-peer-credentials-authenticator"\]##' Cargo.toml
# Features available in 1.2.0-rc1:
Expand Down Expand Up @@ -116,7 +119,7 @@ export PROTOC=%{_bindir}/protoc
export PROTOC_INCLUDE=%{_includedir}
%cargo_test -- --lib

%pre -f parsec.pre
%pre -n system-user-parsec -f parsec.pre
%service_add_pre parsec.service

%post
Expand All @@ -138,6 +141,8 @@ export PROTOC_INCLUDE=%{_includedir}
%{_libexecdir}/parsec
%{_tmpfilesdir}/parsec.conf
%{_unitdir}/parsec.service

%files -n system-user-parsec
%{_sysusersdir}/system-user-parsec.conf

%changelog
2 changes: 1 addition & 1 deletion packages/p/parsec/vendor.tar.xz

0 comments on commit c3f7d15

Please sign in to comment.