Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=895541

--- Comment #9 from Antonio Trande <[email protected]> ---
(In reply to comment #7)
> Do you mean adding something like:
> %defattr(644,root,root,755)
> %attr(755,root,root) %{_bindir}/*

No.

For instance:

Your package includes some sub-directories in the directory
'/usr/share/gnome/help'; those sub-directories contain .xml files. Therefore on
the '%file' section these must be indicated as owned of package.
'ptbl' binary is owned of package; ... and so on.

So:

%files
%doc COPYING
%{_bindir}/%{name}

%dir %{_datadir}/gnome/help/%{name}-manual
%{_datadir}/gnome/help/%{name}-manual/*/*.xml

...

> ptbl.src: W: strange-permission ptbl-1.0.tar.gz 0600L

Set the right permission for this file by editing .spec file
https://fedoraproject.org/wiki/Common_Rpmlint_issues?rd=PackageMaintainers/Common_Rpmlint_Issues#strange-permission

Now, you have everything necessary in order to complete your spec file. :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=l7y9WphOOt&a=cc_unsubscribe
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to