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

Missing ChangeLog when compiling with bundled spec file #47

Closed
GoogleCodeExporter opened this issue Sep 6, 2015 · 5 comments
Closed

Comments

@GoogleCodeExporter
Copy link

When recompiling pdsh from the tarball with
   rpmbuild -ta  --with genders --with nodeattr pdsh-2.27.tar.bz2
the packaging dies while processing files with the following error:

+ cp -pr COPYING README ChangeLog NEWS DISCLAIMER 
/var/tmp/pdsh-2.27-1-root-root/usr/share/doc/pdsh-2.27
cp: cannot stat `ChangeLog': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.87249 (%doc)

A quick check in the spec file show around line 363
%files
%defattr(-,root,root)
%doc COPYING README ChangeLog NEWS DISCLAIMER 
%doc README.KRB4 README.modules README.QsNet
%{_bindir}/pdsh

But the ChangeLog file is missing. There are 2 solution: 1) bundle the 
ChangeLog file in the tarball or 2) remove the ChangeLog file from the %doc 
entry.

Unluck redhat doesn't ship a precompiled rpm for this great program so it is 
better if the spec file is in order i think :)

Thank you very much

Original issue reported on code.google.com by enrico.t...@gmail.com on 6 Feb 2012 at 2:15

@GoogleCodeExporter
Copy link
Author

Sorry I didn't respond to this issue sooner.

The fix is already in pdsh-2.28, which I realize I haven't uploaded to
the Downloads section yet. I'll get to that immediately.

Thanks

Original comment by mark.gro...@gmail.com on 11 Feb 2012 at 2:47

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Ok, pdsh-2.28 is up in the Downloads section. Can you try that and let me know
if you still see a problem?

Thanks!

Original comment by mark.gro...@gmail.com on 11 Feb 2012 at 3:23

@GoogleCodeExporter
Copy link
Author

Thank you very much for the upload. I will try pdsh-2.28 at work on monday (we 
use it on our Scientific HPC). It's a pain for me to connect to it from my home 
due to my very fragile and slow internet connection.

See you on Monday!
Best regards

Original comment by enrico.t...@gmail.com on 11 Feb 2012 at 3:59

@GoogleCodeExporter
Copy link
Author

Sorry for the late, i got the usual bunch of Monday-problems (HD failure on a 
server raid controller). pdsh-2.28 builds (and works) like a charm without the 
need of a workaround.

You can close the issue (the interface doesn't seems to let me close it)

Thank you very much

Original comment by enrico.t...@gmail.com on 13 Feb 2012 at 10:56

@GoogleCodeExporter
Copy link
Author

Original comment by mark.gro...@gmail.com on 15 Feb 2012 at 5:06

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant