rpmfluff is a lightweight way of building RPMs, and sabotaging them so they are broken in controlled ways.
It is intended for use when testing RPM-testers e.g. rpmlint and writing test cases for RPM tools e.g. yum
Author: dmalcolm @redhat.com
Homepage: https://pagure.io/rpmfluff
add_simple_payload_file_random() if you want to include some file to the rpm and you do not care about the content%pre/%post/%preun/%prepost capabilitiese8f4e9607128a2817262761592eb8080) - python-rpmfluff-0.4.2-1.fc22.src.rpm752be6d7ece44535392583c18e007a2e) - python-rpmfluff-0.4.1-1.fc22.src.rpm296472d772ee0cc04e9d9afd35880fd1) - python-rpmfluff-0.3-5.fc12.src.rpm0d7ce618fb7222b11986bfb078f0454e) - python-rpmfluff-0.2-2.fc9.src.rpm505e95609285d177df4ba875fd5fa228) - python-rpmfluff-0.1-1.fc9.src.rpm>>> import rpmfluff
>>> foo = rpmfluff.SimpleRpmBuild("foo", "0.1", "1")
>>> foo.make()
Feel free to fork here and send pull requests or email me to add you as a contributor directly to this repository. If you just need the code, then:
$ git clone https://pagure.io/rpmfluff.git