add python3-devel and source URL…#2
Open
GloriousEggroll wants to merge 1 commit intofrispete:mainfrom
Open
Conversation
… for source to allow usage with spectool
(1) Without python3-devel build requirement the package fails to build with the following error:
RPM build errors:
source_date_epoch_from_changelog set but %changelog is missing
File must begin with "/": %{python3_sitelib}/{,__pycache__/}slackfix*
(2) By adding the URL for the latest release we can simply clone the repo and run `spectool -g *.spec` inside the cloned folder to grab the latest tarball automagically.
Doing so simplifies the build process:
```
git clone https://github.com/frispete/slackfix
cd slackfix
spectool -g *.spec
fedpkg --release f39 srpm
mock -r /etc/mock/fedora-39-x86_64.cfg --rebuild --enable-network *.src.rpm
mv /var/lib/mock/fedora-39-x86_64/result .
sudo dnf install result/slackfix-0.1.3-0.noarch.rpm
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add python3-devel to build requirements to fix build failure, add URL for source to allow usage with spectool
(1) Without python3-devel build requirement the package fails to build with the following error:
(2) By adding the URL for the latest release we can simply clone the repo and run
spectool -g *.specinside the cloned folder to grab the latest tarball automagically.Doing so simplifies the build process: