[Bug 829865] Review Request: perl-MARC-XML - Read and write XML serialization of MARC data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=829865

--- Comment #5 from Iain Arnell <iarnell@xxxxxxxxx> ---
(In reply to comment #4)
> Thanks, BuildRequires: perl(ExtUtils::MakeMaker) added.
> 
> The permissions problem is indeed weird, and actually matches what's
> happening in perl-MARC-Record. If you remove the %attr specification for
> %{_bindir} here, you get:
> 
> perl-MARC-XML.noarch: E: non-standard-executable-perm /usr/bin/xml2marc 0555L
> 
> (This is weird because ExtUtil::MakeMaker says that the default permission
> for EXE_FILES is supposed to be 755, and I don't see anything overriding
> that default in Makefile.PL for this module).
> 
> Over in perl-MARC-Record, the solution I inherited had been to "chmod -R u+w
> $RPM_BUILD_ROOT/*". That seemed a bit bunt, which is why I went with the
> %attr approach to resolve the problem specifically with the contents of
> %{_bindir}.

Aha. That rings a bell. The standard approach is to add

%{_fixperms} %{buildroot}/*

to the end of %install section.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]