Registry / utility / google-rpmpack

google-rpmpack

JSON →
library0.7.1gogounverified

Package rpmpack packs files to rpm files.

go get github.com/google/rpmpack
INSTALL
IMPORT
SIG · GOOGLE-RPMPACK
G
google-rpmpack
utilitygov0.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rpmpack
github.com/google/rpmpack

Create an RPM package with rpmpack.

package main import ( "fmt" "github.com/google/rpmpack" ) func main() { rpm, err := rpmpack.NewRPM(rpmpack.RPMMetaData{Name: "example", Version: "1.0"}) if err != nil { panic(err) } err = rpm.AddFile("/usr/bin/hello", []byte("#!/bin/sh\necho hello")) if err != nil { panic(err) } fmt.Println("RPM created") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-rpmpack — go get google-rpmpack · libregistry