Ana Guerrero 2024-03-29 12:10:01 +00:00 committed by Git OBS Bridge
commit 1b4d7ffbec
7 changed files with 26 additions and 20 deletions

View File

@ -1,10 +1,10 @@
<services> <services>
<service name="cargo_vendor" mode="manual"> <service name="cargo_vendor" mode="manual">
<param name="compression">xz</param> <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> <param name="update">true</param>
</service> </service>
<service name="cargo_audit" mode="manual"> <service name="cargo_audit" mode="manual">
<param name="srcdir">parsec-1.3.0</param> <param name="srcdir">parsec-1.4.0-rc1</param>
</service> </service>
</services> </services>

View File

@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:253cf74ae929ae613124ea9bcc7182f239d9cb1d013277b53e9390613d79b0ad
size 940247

3
parsec-1.4.0-rc2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:372a5015ed17686c522e9c54c08e65c176070071d60ebd9f38561928a529bee6
size 953444

View File

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

View File

@ -1,7 +1,7 @@
# #
# spec file for package parsec # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,18 +17,17 @@
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
%define archive_version 1.3.0 %define archive_version 1.4.0-rc2
%{?systemd_ordering} %{?systemd_ordering}
Name: parsec Name: parsec
Version: 1.3.0 Version: 1.4.0~rc2
Release: 0 Release: 0
Summary: Platform AbstRaction for SECurity Summary: Platform AbstRaction for SECurity
License: Apache-2.0 License: Apache-2.0
URL: https://parallaxsecond.github.io/parsec-book URL: https://parallaxsecond.github.io/parsec-book
Source0: https://github.com/parallaxsecond/parsec/archive/%{archive_version}.tar.gz#/parsec-%{archive_version}.tar.gz Source0: https://github.com/parallaxsecond/parsec/archive/%{archive_version}.tar.gz#/parsec-%{archive_version}.tar.gz
Source1: vendor.tar.xz Source1: vendor.tar.xz
Source2: cargo_config
Source3: parsec.service Source3: parsec.service
Source4: config.toml Source4: config.toml
Source5: parsec.conf Source5: parsec.conf
@ -52,7 +51,6 @@ BuildRequires: sysuser-tools
BuildRequires: pkgconfig(tss2-esys) >= 2.3.3 BuildRequires: pkgconfig(tss2-esys) >= 2.3.3
# opensc is used to initialize HSM keys (PKCS#11 backend) # opensc is used to initialize HSM keys (PKCS#11 backend)
Recommends: opensc Recommends: opensc
%sysusers_requires
# /dev/tpm* are owned by tss user # /dev/tpm* are owned by tss user
Requires(pre): system-user-tss Requires(pre): system-user-tss
# tpm2-0-tss holds the udev rule to make /dev/tpm* owned by tss user # tpm2-0-tss holds the udev rule to make /dev/tpm* owned by tss user
@ -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, This abstraction layer keeps workloads decoupled from physical platform details,
enabling cloud-native delivery flows within the data center and at the edge. 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 %prep
%setup -q -a1 -a10 -n parsec-%{archive_version} %setup -q -a1 -a10 -n parsec-%{archive_version}
rmdir trusted-services-vendor rmdir trusted-services-vendor
mv trusted-services-389b506 trusted-services-vendor mv trusted-services-389b506 trusted-services-vendor
rm -rf .cargo && mkdir .cargo
cp %{SOURCE2} .cargo/config
# Enable all providers # Enable all providers
sed -i -e 's#default = \["unix-peer-credentials-authenticator"\]##' Cargo.toml sed -i -e 's#default = \["unix-peer-credentials-authenticator"\]##' Cargo.toml
# Features available in 1.2.0-rc1: # Features available in 1.2.0-rc1:
@ -116,7 +119,7 @@ export PROTOC=%{_bindir}/protoc
export PROTOC_INCLUDE=%{_includedir} export PROTOC_INCLUDE=%{_includedir}
%cargo_test -- --lib %cargo_test -- --lib
%pre -f parsec.pre %pre -n system-user-parsec -f parsec.pre
%service_add_pre parsec.service %service_add_pre parsec.service
%post %post
@ -138,6 +141,8 @@ export PROTOC_INCLUDE=%{_includedir}
%{_libexecdir}/parsec %{_libexecdir}/parsec
%{_tmpfilesdir}/parsec.conf %{_tmpfilesdir}/parsec.conf
%{_unitdir}/parsec.service %{_unitdir}/parsec.service
%files -n system-user-parsec
%{_sysusersdir}/system-user-parsec.conf %{_sysusersdir}/system-user-parsec.conf
%changelog %changelog

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:ebe8ff9ef9a6c320c26bb08e69dd10b86de24cb55bc82fec65c3e608b00cf141 oid sha256:d9288687a3eda0398e454d00596d79b1bd8d67aa6e3564d7dabbedf532ece815
size 48104864 size 52351056