Using Mock to test package builds - Fedora Project Wiki - Fedora Linux

fedoraproject.org/wiki/Using_Mock_to_test_package_builds
When using mock, you can use the "-r" option to select a particular test configuration. If there's one configuration that system users will normally use, you can set that as the default: ... (An example of MOCK_CONFIG is "fedora-14-x86_64"; see the /etc/mock directory for the existing mock configurations.)

GitHub - rpm-software-management/mock: Mock is a tool for a ...

github.com/rpm-software-management/mock
Mock is used by the Fedora Build system to populate a chroot environment, which is then used in building a source-RPM (SRPM). It can be used for long-term management of a chroot environment, but generally a chroot is populated (using DNF), an SRPM is built in the chroot to generate binary RPMs, and the chroot is then discarded. ...

A 'simple' chroot build environment manager for building RPMs. - Mock

rpm-software-management.github.io/mock/
Using Mock to test package builds has some useful tips for using mock. Mock Setup Using Local Mirror Setting up a local mirror using Mock. Legacy/Mock has some useful tips for building packages in mock for older Fedora and Red Hat Linux releases. Increase Mock performance. RPM Packaging Guide; Modularity Features in Mock

Using the Koji build system - Fedora Docs

docs.fedoraproject.org/en-US/package-maintainers/Using_the_Koji_Build_System/
The Koji Build System is Fedora's RPM buildsystem. Packagers use the koji client to request package builds and get information about the buildsystem. Koji runs on top of Mock to build RPM packages for specific architectures and ensure that they build correctly.

Using Mock is easy | FrostyX.cz

frostyx.cz/posts/using-mock-is-easy
By default Mock builds the RPM packages for the Fedora version and architecture that matches your system. If you want to specify a different target, use the -r parameter and press <TAB> twice to see all the possible options. Read further. If interested, you can read more about Mock configuration files, containers, plugins, and other features.

2.4.3. Testing a Package with Mock - jfearn.fedorapeople.org

jfearn.fedorapeople.org/fdocs/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Testing_a_Package_with_Mock.html
Use Mock to test that you have accurate definitions of the build dependencies in your spec file. ... The configuration file name contains the name of the used system architecture and operating system (for example Fedora 18). Refer to the /etc/mock/ directory for a list of available configuration files. For example, ...

mock: build SRPMs in a chroot | mock Commands | Man Pages - ManKier

www.mankier.com/1/mock
To use mock, a user should become a member of the mock group by adding their username to the mock line in /etc/group. This can be done with the following command: ... To rebuild test.src.rpm using the Fedora 14 configuration for x86_64. mock -r fedora-14-x86_64 --rebuild /path/to/test.src.rpm.

Running mock in a docker container - Fedora Discussion

discussion.fedoraproject.org/t/running-mock-in-a-docker-container/83500
The container also needed to run with the --privileged flag.. 2 Likes. keesdejong (Kees de Jong) September 26, 2024, 1:19pm

PackagingDrafts/Testing - Fedora Project Wiki - Fedora Linux

fedoraproject.org/wiki/PackagingDrafts/Testing
mock -r fedora-rawhide-x86_64 --shell <mock-chroot> rpmlint libfoo Testing graphical packages with mock and Xnest. It is also possible to test graphical programs with the addition of Xnest. It's subject to the same advantages and disadvantages with the following addition. The package will be using the X server of the host and not of the release ...

Package Maintenance Guide - Fedora Docs

docs.fedoraproject.org/en-US/package-maintainers/Package_Maintenance_Guide/
This page provides some basic instructions for day-to-day usage of the git-based package maintenance system for Fedora. It is intended primarily for new and current Fedora package maintainers ... Using Mock to Test Package Builds can help there. Generate a .src.rpm from the current state. fedpkg srpm. You can request a Koji scratch build ...
Feedback