Packaging Rustlang
General Guidelines 路 Naming Guidelines 路 Specfile Guidelines 路 Patches Guidelines 路 Security Guidelines 路 RPM Group Guidelines
Build Service Tutorial 路 Tips & Tricks 路 Cross Distribution Howto 路 Packaging checks
Desktop menu categories 路 RPM Macros 路 Scriptlets 路 Init scripts 路 How to write good changes
Build Service Tutorial 路 Tips & Tricks 路 Cross Distribution Howto 路 Packaging checks
Desktop menu categories 路 RPM Macros 路 Scriptlets 路 Init scripts 路 How to write good changes
How to package the Rust compiler for openSUSE Build Service.
Packaging the Rust compiler
Rust 1.54 and later
Process
- Create a new package of the next version in devel:languages:rust (i.e. rust1.55)
- Copy from the previous version, rust1.54.spec, rust1.54-rpmlintrc, README.suse-maint, ignore-Wstring-conversion.patch, _constraints, _service, rust.keyring
- Rename the files with versions to the new version
- Edit the .spec to correct the versions at the header
- Check and set the required LLVM version requirement
- run osc service ra
- run osc vc to create changes
- run osc build
- submit to d:l:r and forward to openSUSE:Factory
- Once versioned is accepted, check out rust
- Update the version header in .spec
- osc build and sr