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

--- Comment #3 from gil cattaneo <[email protected]> ---
hi
Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install
change
cp -r dist/javadoc $RPM_BUILD_ROOT%{_javadocdir}/%{name}
with
cp -r dist/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}

the subpackage javadoc should got the license file and remove the
%%defattr(-,root,root,-) This is OK if
packaging for EPEL5.

edit /%{_datadir}/%{name} in %{_datadir}/%{name}

%files
%{_datadir}/pixmaps/CardManager.png
%{_datadir}/applications/CardManager.desktop
%{_datadir}/%{name}
%attr(755,root,root) %{_bindir}/CardManager
%{_javadir}/*
%doc license.txt

%files javadoc
%{_javadocdir}/%{name}
%doc license.txt



remove %clean section

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

Reply via email to