Device-mapper thin provisioning tools
a0ebfca02c
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/device-mapper-persistent-data.git#04960e2a1eb6ab9f067b49dee4066ede46122305 |
||
---|---|---|
tests | ||
.gitignore | ||
0001-Update-dependencies.patch | ||
device-mapper-persistent-data-avoid-strip.patch | ||
device-mapper-persistent-data.spec | ||
README.md | ||
sources |
Packaging dmpd
This is mostly regular package except recent addition of rust to used languages.
rust-tools
To build the rust-tools (make rust-tools
) one needs:
- rust >= 1.35
- cargo with vendor subcommand (now upstream, included in latest Fedora and RHEL8)
cargo vendpr
- run
cargo vendor
in the disrectory with sources - run
tar czf device-mapper-persistent-data-vendor-$VERSION.tar.gz ./vendor
- copy the file (if version changed) and run the fedpkg new-sources command:
fedpkg new-sources v$VERSION.tar.gz device-mapper-persistent-data-vendor-$VERSION.tar.gz
TODO/NOTES
Some of the dependencies may be already packaged by Fedora. Can we instruct cargo vendor to include only those which are not provided by Fedora?
%cargo_install installs by defualt in /usr/bin but the package expects /usr/sbin. For now I run make install-rust-tools.