diff --git a/packages/p/parsec/.files b/packages/p/parsec/.files
index ea587f6bc5c..66ad824e01b 100644
Binary files a/packages/p/parsec/.files and b/packages/p/parsec/.files differ
diff --git a/packages/p/parsec/.rev b/packages/p/parsec/.rev
index 30345e865cf..93bd14aa9f3 100644
--- a/packages/p/parsec/.rev
+++ b/packages/p/parsec/.rev
@@ -183,4 +183,12 @@
1121140
+
+ ce2a7e2fbc0dc72d6be7f3aac91299cd
+ 1.4.0~rc2
+
+ anag+factory
+
+ 1163363
+
diff --git a/packages/p/parsec/_service b/packages/p/parsec/_service
index ab3b72bd937..997427b7f94 100644
--- a/packages/p/parsec/_service
+++ b/packages/p/parsec/_service
@@ -1,10 +1,10 @@
xz
- parsec-1.3.0
+ parsec-1.4.0-rc1
true
- parsec-1.3.0
+ parsec-1.4.0-rc1
diff --git a/packages/p/parsec/cargo_config b/packages/p/parsec/cargo_config
deleted file mode 100644
index a476f35fe9f..00000000000
--- a/packages/p/parsec/cargo_config
+++ /dev/null
@@ -1,5 +0,0 @@
-[source.crates-io]
-replace-with = "vendored-sources"
-
-[source.vendored-sources]
-directory = "vendor"
\ No newline at end of file
diff --git a/packages/p/parsec/parsec-1.3.0.tar.gz b/packages/p/parsec/parsec-1.3.0.tar.gz
deleted file mode 120000
index 32787a60766..00000000000
--- a/packages/p/parsec/parsec-1.3.0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeigqf7vt3ugnm4xjmygcugmsg5dradh2s3e2a6frly4u3tz456aq3m
\ No newline at end of file
diff --git a/packages/p/parsec/parsec-1.4.0-rc2.tar.gz b/packages/p/parsec/parsec-1.4.0-rc2.tar.gz
new file mode 120000
index 00000000000..a818fb459ac
--- /dev/null
+++ b/packages/p/parsec/parsec-1.4.0-rc2.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafybeiekwxsf2brmssoq2e4cr6kinidm6ijqoespoxeqxr2nuswtlu6nnq
\ No newline at end of file
diff --git a/packages/p/parsec/parsec.changes b/packages/p/parsec/parsec.changes
index 8a011e31375..8aec6065d1b 100644
--- a/packages/p/parsec/parsec.changes
+++ b/packages/p/parsec/parsec.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Thu Mar 28 15:23:19 UTC 2024 - Guillaume GARDET
+
+- 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
diff --git a/packages/p/parsec/parsec.spec b/packages/p/parsec/parsec.spec
index b8a4f64da30..7c76b290c07 100644
--- a/packages/p/parsec/parsec.spec
+++ b/packages/p/parsec/parsec.spec
@@ -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
@@ -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
@@ -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
@@ -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:
@@ -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
@@ -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
diff --git a/packages/p/parsec/vendor.tar.xz b/packages/p/parsec/vendor.tar.xz
index 72489200a41..d4d8ab8f4d5 120000
--- a/packages/p/parsec/vendor.tar.xz
+++ b/packages/p/parsec/vendor.tar.xz
@@ -1 +1 @@
-/ipfs/bafybeidjej3k34rt3tdgxkvgmog4a4zfg66fenxe2is5iahrvnxflqv7r4
\ No newline at end of file
+/ipfs/bafybeia5nuzycwo6ecbk33wgwjc44lf5gz7urdofeiw5norjxj63zzglle
\ No newline at end of file