1
0
mirror of https://github.com/containers/netavark.git synced 2026-02-05 06:45:56 +01:00

6 Commits

Author SHA1 Message Date
Paul Holzinger
851ac904db update to nftables release 0.3 from crates.io
This allows us to publish on crates.io as well.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-01-25 14:43:39 +01:00
Danish Prakash
1f60bcebe2 DISTRO_PACKAGE: fix incorrect vendored tar archive URL
Signed-off-by: Danish Prakash <danish.prakash@suse.com>
2024-01-25 14:27:38 +05:30
Lokesh Mandvekar
f20eeeb926 RPM: update .cargo/config before building
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-01-24 19:57:22 +05:30
Paul Holzinger
80746317e2 use local cargo dependencies
We should not try to build with deps from the vendor directory locally.
This will force me to run make vendor manually if I pull in new deps.

When distros want to build with bundeld deps they should a) download
the linked vendor tarball which we should provide for the releases and
b) create the cargo config since to let cargo use the vendor dir.
```
tar xvf %{SOURCE1}
mkdir -p .cargo

cat >.cargo/config << EOF
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
EOF
```

see https://src.fedoraproject.org/rpms/rust-coreos-installer/blob/rawhide/f/rust-coreos-installer.spec#_86

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-02-24 15:22:04 +01:00
Brent Baude
012154874e Remove vendor directory
From now on, the vendor directory will no longer be part of the github
repository.  For distribution maintainers, we will publish the vendor
directory in the form of a tar.gz file with the release.

For the Fedora spec, something like this will to be done at a minimum:

+Source1: %{url}/releases/download/v%{version}/%{name}-%{version}-vendor.tar.gz

Signed-off-by: Brent Baude <bbaude@redhat.com>
2022-02-22 14:33:21 -06:00
Lokesh Mandvekar
5bb49a09a5 DISTRO_PACKAGE.md: info for distro packagers and users
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-02-11 15:13:56 -05:00