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

[dist] Add last_deploy file to %ghost directive #5199

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

ChrisBr
Copy link
Member

@ChrisBr ChrisBr commented Jun 25, 2018

to fix 'testing for pre/postinstall scripts that are not idempotent' RPM Lint failure.

@ChrisBr ChrisBr requested a review from coolo June 25, 2018 08:59
@coolo
Copy link
Member

coolo commented Jun 25, 2018

I think this will do, but I don't know rpm good enough :(

@mlschroe

@mlschroe
Copy link
Member

%ghost will certainly work, but you can also mark the file with %verify(not mtime)

@ChrisBr
Copy link
Member Author

ChrisBr commented Jun 25, 2018

@coolo updated

by adding the %verify directive to the file.
This fixes 'testing for pre/postinstall scripts that are not idempotent' build failure
caused by the touch in the %post section.
http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html
@coolo
Copy link
Member

coolo commented Jun 25, 2018

CI seems to hang - and the package fails to build, so force merge

@coolo coolo merged commit cf7ada9 into openSUSE:master Jun 25, 2018
@coolo
Copy link
Member

coolo commented Jun 25, 2018

damn, he wrote 'not mtime' and you did 'no mtime' and I assumed you copy&pasted :(

coolo added a commit to coolo/open-build-service that referenced this pull request Jun 25, 2018
ChrisBr added a commit to ChrisBr/open-build-service that referenced this pull request Jun 26, 2018
ChrisBr added a commit that referenced this pull request Jun 26, 2018
vpereira pushed a commit to vpereira/open-build-service that referenced this pull request Jul 2, 2018
by adding the %verify directive to the file.
This fixes 'testing for pre/postinstall scripts that are not idempotent' build failure
caused by the touch in the %post section.
http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html
vpereira pushed a commit to vpereira/open-build-service that referenced this pull request Jul 2, 2018
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.

3 participants