Skip to content
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

Refactor all specs #24

Open
TomaszGasior opened this issue Apr 19, 2020 · 0 comments
Open

Refactor all specs #24

TomaszGasior opened this issue Apr 19, 2020 · 0 comments
Assignees
Labels
refactor Make structure better

Comments

@TomaszGasior
Copy link
Owner

TomaszGasior commented Apr 19, 2020

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_package_dependencies

Task to do:

  • Run rpmlint on each spec
  • Choose %define vs %global
  • Clean up dependencies: remove unneeded, use language-specific package definition instead of bare package names
  • Use macros when possible instead of hard coding
  • Choose mkdir, cp and friends vs install and choose bare command vs commands from macros
  • Permissions and directory definitions in %files section
  • Get rid of %global debug_package %{nil} and other magic constants if possible, document otherwise
  • Use %{name} in %files section when possible
  • Build debug packages
@TomaszGasior TomaszGasior added the refactor Make structure better label Apr 19, 2020
@TomaszGasior TomaszGasior self-assigned this Jan 3, 2021
@TomaszGasior TomaszGasior removed their assignment May 19, 2021
@TomaszGasior TomaszGasior self-assigned this Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Make structure better
Projects
None yet
Development

No branches or pull requests

1 participant