Skip to content

Conversation

@Philantrop
Copy link
Contributor

No description provided.

mkdir -p %{buildroot}/%{_bindir}

install -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
sed -i -e "s:/usr/bin/env bash:/bin/bash:" %{buildroot}/%{_bindir}/%{name}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something we should adopt upstream?

@Cogitri
Copy link
Collaborator

Cogitri commented Oct 1, 2019

Another thing, should we really put this in the repository root and not in some folder where we put other packaging related files?

@Philantrop
Copy link
Contributor Author

Sure, I can put the spec file anywhere. I don't see any reason not to accept this, though. It's common practice to include such stuff.

@Cogitri
Copy link
Collaborator

Cogitri commented Oct 1, 2019

Alright, wasn't sure what's the common way to do this for Specfiles :)

@Cogitri Cogitri merged commit fd07ca3 into zlin:master Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants