Update to upstream release 0.9.0
This commit is contained in:
parent
3a6c7c6f8e
commit
00ee8c1bd2
5 changed files with 94 additions and 6 deletions
24
README.md
Normal file
24
README.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# 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*.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue