https://bugzilla.redhat.com/show_bug.cgi?id=1120788 --- Comment #16 from Robin Lee <robinlee.sysu@xxxxxxxxx> --- > install -d $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/ > install -p ChangeLog CONTRIBUTORS README $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/ Theses two lines are not necessary, since %doc moacro will copy the files for you. > %attr(755, root, root) %{perl_vendorlib}/%{name}/Commands/templates/append_if_no_such_line.tpl.pl This line will end with a warning during packaging: File listed twice: /usr/share/perl5/vendor_perl/Rex/Commands/templates/append_if_no_such_line.tpl.pl You can just run chmod during %build instead of using %attr > Requires: perl(AWS::Signature4) This line may not necessary since this requirement is auto-generated. And this package may require 'perl(Net::SSH2)' but not auto-generated. I ran a simple synopsis of rex, but it throw an error: [2017-07-30 21:40:32] WARN - No Rexfile found. [2017-07-30 21:40:32] WARN - Create a file named 'Rexfile' in this directory, [2017-07-30 21:40:32] WARN - or specify the file you want to use with: [2017-07-30 21:40:32] WARN - rex -f file_to_use task_to_run [2017-07-30 21:40:32] INFO - Running task eval-line on 192.168.122.198 [2017-07-30 21:40:33] ERROR - 1 out of 1 task(s) failed: [2017-07-30 21:40:33] ERROR - eval-line failed on 192.168.122.198 [2017-07-30 21:40:33] ERROR - Error loading connection interface SSH. [2017-07-30 21:40:33] ERROR - Can't locate Net/SSH2.pm in @INC (you may need to install the Net::SSH2 module) (@INC contains: CODE(0x118dfc0) /usr/lib/rex/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . CODE(0x118e188) /home/cheese/.rex/recipes) at (eval 42) line 1. And it goes well after I install 'perl(Net::SSH2)' manually. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx