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

141 rpm spec file cleanup #155

Merged
merged 2 commits into from
Jul 31, 2024
Merged

141 rpm spec file cleanup #155

merged 2 commits into from
Jul 31, 2024

Conversation

davidcoutadeur
Copy link

Closes #141

Drop deprecated Group and BuildRoot tags
Don't clean buildroot at start of %%install and drop %%clean section
Re-order preamble and drop useless variables
Use %%global instead of %%define
Split long line in %%description
Split long lines / simplify
Don't change dirs ownership in %%post
Drop default %%defattr
Convert License tag to SPDX and distribute LICENSE file
Distribute AUTHORS and README.md
Move conf file to %%_sysconfdir
Use macros instead of straigh paths
Drop comments duplicating sections name
Add blank lines between changelog entries for legibility
Fix changelog entries format
Use full URL for Source0
Add provides for bundled stuff
Run checks (Fedora only)
Specify all deps and provide a custom autoloader
Specify min php version
Install a minimal local config
Re-order directories creation
Preserve timestamps
Update URL tag
@davidcoutadeur davidcoutadeur force-pushed the 141-rpm-spec-file-cleanup branch 5 times, most recently from b2bf612 to 5083980 Compare July 31, 2024 15:37
* remove all files in htdocs/vendor/ except i18n in datatables,
  because they'll be managed by composer
* add .gitignore in htdocs/vendor/ to ensure no files would be tracked
  there except for htdocs/vendor/datatables/i18n
* improve composer.json file to clean the downloaded dependencies and
  keep only the required files in htdocs/vendor
* clean specfile: add bundled dependencies, remove custom autoload and
  local config file, manage the config file migration to /etc/service-desk,
  clean hidden files in bundled php libs, fix license filename,
  add missing htdocs/js directory, remove httpd and add php-fpm dependency
@davidcoutadeur davidcoutadeur merged commit cc3601d into master Jul 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RPM spec file cleanup
2 participants