1 unstable release
0.4.0 | Jun 27, 2024 |
---|---|
0.3.0 |
|
0.2.0 |
|
0.1.0 |
|
#1179 in Parser implementations
160 downloads per month
185KB
3.5K
SLoC
rpmspec-rs
A pure Rust library for parsing RPM spec files.
System Build Dependencies
luajit-devel
lib.rs
:
rpmspec-rs
RPM Spec parser in Rust
RPMs are built from sources using a spec file. The spec file contains information on how to build the package, what files to include, and what dependencies are required.
RPMs make use of macros, which are evaluated at build time. Macros are defined in the spec files and various other files in the macros directory. They are also picked up from ~/.rpmrc and /etc/rpmrc.
To get started, see [SpecParser::parse()
].
Dependencies
~22–31MB
~465K SLoC