forked from pool/virtiofsd
osc copypac from project:home:ccrane:branches:Virtualization package:virtiofsd revision:5
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtiofsd?expand=0&rev=1
This commit is contained in:
commit
732e606ffe
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
30
_service
Normal file
30
_service
Normal file
@ -0,0 +1,30 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">https://gitlab.com/virtio-fs/virtiofsd.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="filename">virtiofsd</param>
|
||||
<param name="revision">v1.5.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version" mode="disabled"/>
|
||||
|
||||
<service name="tar" mode="disabled"/>
|
||||
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">virtiofsd</param>
|
||||
</service>
|
||||
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srcdir">virtiofsd</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="update">false</param>
|
||||
</service>
|
||||
</services>
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b9392681d23c428baac88847134e4500ce4d97adc40432083de3dc8ca4d3813
|
||||
size 6580972
|
3
virtiofsd-1.5.0.tar.xz
Normal file
3
virtiofsd-1.5.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a6b4dbb336607986326b3738404e45f059324ac3fec7a7963c6eb2e61e3b2c1
|
||||
size 90552
|
55
virtiofsd.spec
Normal file
55
virtiofsd.spec
Normal file
@ -0,0 +1,55 @@
|
||||
#
|
||||
# spec file for package virtiofsd
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: virtiofsd
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: vhost-user virtio-fs device backend written in Rust
|
||||
Group: Development/Libraries/Rust
|
||||
License: Apache-2.0
|
||||
URL: https://gitlab.com/virtio-fs/virtiofsd
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
vhost-user virtio-fs device backend written in Rust
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_bindir}/virtiofsd
|
||||
|
||||
%prep
|
||||
%autosetup -a1
|
||||
mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
|
||||
%build
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
%{cargo_install}
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user