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

gil cattaneo <punto...@libero.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |punto...@libero.it



--- Comment #1 from gil cattaneo <punto...@libero.it> ---
The spec file should be cleanup, please remove:

Group:        Development/Libraries/Java
#Vendor:        JPackage Project
#Distribution:    JPackage

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

Group: Development/Documentation

rm -rf $RPM_BUILD_ROOT in %install section

%clean
rm -rf $RPM_BUILD_ROOT

%post javadoc

%postun javadoc

%defattr(0644,root,root,0755)

* jar and javadoc must be without version, e.g.

# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -pm 644 distrib/kilim.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
install -pm 644 distrib/kilim-tools.jar
$RPM_BUILD_ROOT%{_javadir}/%{name}-tools.jar

# javadoc
install -p -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -pr doc/apis/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}

%files javadoc
%{_javadocdir}/%{name}

-- 
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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to