Accepting request 967250 from security
- rust-packaging -> cargo-packaging (bsc#1198131) OBS-URL: https://build.opensuse.org/request/show/967250 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parsec?expand=0&rev=15
This commit is contained in:
commit
1b291f017c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 6 07:00:43 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- rust-packaging -> cargo-packaging (bsc#1198131)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 31 06:17:05 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Thu Mar 31 06:17:05 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -42,8 +42,12 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: protobuf-devel
|
BuildRequires: protobuf-devel
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
# jwt-svid-authenticator (SPIFFE-based authenticator) needs rust >= 1.53
|
# jwt-svid-authenticator (SPIFFE-based authenticator) needs rust >= 1.53
|
||||||
BuildRequires: rust >= 1.53
|
%if %suse_version > 1550
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
%else
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
|
%endif
|
||||||
|
BuildRequires: rust >= 1.53
|
||||||
BuildRequires: sysuser-tools
|
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)
|
||||||
@ -96,6 +100,9 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/parsec
|
|||||||
# Move parsec to _libexecdir
|
# Move parsec to _libexecdir
|
||||||
mkdir -p %{buildroot}%{_libexecdir}
|
mkdir -p %{buildroot}%{_libexecdir}
|
||||||
mv target/release/parsec %{buildroot}%{_libexecdir}
|
mv target/release/parsec %{buildroot}%{_libexecdir}
|
||||||
|
|
||||||
|
# currently delete it from bin if there
|
||||||
|
rm -f %{buildroot}%{_bindir}/parsec
|
||||||
# Clean-up
|
# Clean-up
|
||||||
find %{buildroot} -name .crates2.json -delete
|
find %{buildroot} -name .crates2.json -delete
|
||||||
rm -rf %{buildroot}%{_datadir}/cargo/registry
|
rm -rf %{buildroot}%{_datadir}/cargo/registry
|
||||||
|
Loading…
Reference in New Issue
Block a user