-
Notifications
You must be signed in to change notification settings - Fork 3
Added support for Spec and Post-Install #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Hi @smuzaffar. |
| --define "_topdir $WORK_DIR/rpmbuild" \ | ||
| --define "buildroot $WORK_DIR/rpmbuild/BUILDROOT/${PKGNAME}" \ | ||
| "$WORK_DIR/rpmbuild/SPECS/${PKGNAME}.spec" | ||
| fi No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akritkbehera , I would suggest to dump rpm provides and requires here and then run dependency checking ( by finding all its requires from its dependency packages). This way dependency checking can be run in parallel and once we are done here then package should be ready to be uploaded.
| cp -a %{workdir}/%{path}/* %{buildroot} | ||
|
|
||
| %files | ||
| /* No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akritkbehera , I would suggest to add a %post section too which can just call the relocation script . This way we can have fully working RPM package
This adds support for generating spec files using rpmBuild if --generate-rpm flag is used while building packages.