Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.
/ mock-install Public archive

A small utility to request package installation within a mock build root when using the pm_request plugin

License

Notifications You must be signed in to change notification settings

nim-nim/mock-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

This utility has been deprecated in favor of rpm DynamicBuildRequires.

mock-install

A small utility to request package installation within a mock build root when using the pm_request plugin.

Usage:

Add inside your rpm package spec file:

BuildRequires: mock-install
[…]

%prep
[…] # Do something to compute yourbr1 … yourbrX
mock-install yourbr1 … yourbrX

The command is a no-op if it can not detect pm_request, making the resulting spec file safe to use outside mock (you just have to install the needed packages some other way).

Building

mock-install is written in Go using only basic standard Go packages, install a Go compiler and build it with:

go build -o mock-install cmd/mock-install/mock-install.go

About

A small utility to request package installation within a mock build root when using the pm_request plugin

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages