{ "info": { "author": "Joseph Mullally", "author_email": "jwmullally@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Build Tools" ], "description": "rpmbuild-chain\n==============\n\nThis program builds a series of SRPMs with rpmbuild.\n\nEach resulting RPM is added to a local YUM repository, making them\navailable as build dependencies for subsequent SRPMs. This is similar\nin operation to mockchain, except the RPMs are built in the local system\ninstead of a dedicated build chroot. This is useful for building a small\nseries of RPMs that will be installed onto the same system, e.g. during\ncontainer builds.\n\nOptionally, any RPMs installed or removed to satisify build dependencies\ncan be rolled back after the build has finished, provided they are still\navailable in the configured YUM repositories.\n\nWarning: Installed packages and changes to the system may unknowingly\naffect the produced RPMs between builds. In almost every case,\nmock/mockchain is the recommended way to build RPMs using consistent\nreproducible clean buildroots, especially if they are to be redistributed\nto other systems. When satisifying build-dependencies, some packages\nmay be temporarily uninstalled, so its not recommended to run this on\nlive production hosts.\n\nThis program must be run as \"root\" in order to install any missing build\ndependencies. All other commands (e.g. rpmbuild) are executed under the\nspecified non-root user to improve security.\n\nStatus\n------\n\n**BETA**. All necessary functionality should be there. After test running\nfor a while I'll bump it to version 1.0.\n\nPyPI: https://pypi.python.org/pypi/rpmbuild-chain\n\nUsage\n-----\n\n::\n\n usage: rpmbuild-chain [-h] [--srpms SRPMS [SRPMS ...]] --user USER\n [--repo-path REPO_PATH] [--repo-name REPO_NAME]\n [--build-path BUILD_PATH] [--order ORDER [ORDER ...]]\n [--order-files ORDER_FILES [ORDER_FILES ...]]\n [--no-rollback-builddep] [--keep-repo-config]\n [--allow-scriptlets] [--hookdir HOOKDIR [HOOKDIR ...]]\n [--lint] [--verbose] [--version]\n\n optional arguments:\n -h, --help show this help message and exit\n --srpms SRPMS [SRPMS ...]\n Input SRPM files to build. If directory, recursively\n scan for RPMs. Use \"-\" to read list from STDIN\n (default: [])\n --user USER Non-privileged user to run rpmbuild (default: None)\n --repo-path REPO_PATH\n Destination directory to store the built RPMs\n (default: rpmbuild-chain)\n --repo-name REPO_NAME\n Name for the YUM repository configuration (default:\n rpmbuild-chain)\n --build-path BUILD_PATH\n Directory to build the RPMs in. Use tmpfs for faster\n builds. Default: tmpdir (default: None)\n --order ORDER [ORDER ...]\n Package build order, given by list of package names\n (default: [])\n --order-files ORDER_FILES [ORDER_FILES ...]\n Read --order from files (default: [])\n --no-rollback-builddep\n Do not automatically rollback installed RPM\n BuildRequires (default: False)\n --keep-repo-config Keep YUM repository configured after exiting (default:\n False)\n --allow-scriptlets Do not abort if RPM scriptlets are found. Warning:\n scriptlets will be run as root when package is\n installed (default: False)\n --hookdir HOOKDIR [HOOKDIR ...]\n Hook script directory(s). Valid subdirectories:\n pre_run pre_build post_build post_run (default: None)\n --lint Run rpmlint on every package (default: False)\n --verbose\n --version show program's version number and exit\n\n\nContributions\n-------------\n\nPatches for fixes are welcome.\n\n- Run \"make integ\" before opening a pull request. You will be prompted to run sudo to execute the test.\n\n\nAuthor\n------\n\nCopyright (C) 2018 Joseph Mullally\n\nLicense: MIT\n\nProject: https://github.com/jwmullally/rpmbuild-chain", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jwmullally/rpmbuild-chain", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rpmbuild-chain", "package_url": "https://pypi.org/project/rpmbuild-chain/", "platform": "", "project_url": "https://pypi.org/project/rpmbuild-chain/", "project_urls": { "Homepage": "https://github.com/jwmullally/rpmbuild-chain" }, "release_url": "https://pypi.org/project/rpmbuild-chain/0.9/", "requires_dist": null, "requires_python": "", "summary": "Build a series of SRPMs with rpmbuild", "version": "0.9" }, "last_serial": 3705887, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "1f4b07cc7f3d0334e7d0368f0b079ec6", "sha256": "8029670d2ca36d6956761e2ee26eefb664d8b56ae4cd9b0cb9b7346554339f1b" }, "downloads": -1, "filename": "rpmbuild-chain-0.9-1.tar.gz", "has_sig": false, "md5_digest": "1f4b07cc7f3d0334e7d0368f0b079ec6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10319, "upload_time": "2018-03-26T10:23:43", "url": "https://files.pythonhosted.org/packages/2a/9b/bebe18e49f9868c9d5735e2bd9487f468c3fd15cdaf9c061ae284dc0e05d/rpmbuild-chain-0.9-1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1f4b07cc7f3d0334e7d0368f0b079ec6", "sha256": "8029670d2ca36d6956761e2ee26eefb664d8b56ae4cd9b0cb9b7346554339f1b" }, "downloads": -1, "filename": "rpmbuild-chain-0.9-1.tar.gz", "has_sig": false, "md5_digest": "1f4b07cc7f3d0334e7d0368f0b079ec6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10319, "upload_time": "2018-03-26T10:23:43", "url": "https://files.pythonhosted.org/packages/2a/9b/bebe18e49f9868c9d5735e2bd9487f468c3fd15cdaf9c061ae284dc0e05d/rpmbuild-chain-0.9-1.tar.gz" } ] }