Mailinglist Archive: opensuse-buildservice (116 mails)

< Previous Next >
Re: [opensuse-buildservice] RPM is built but gets failed at the end
On Wed, Aug 29, 2012 at 11:33:30AM +0530, Nandhini Sivakumar wrote:
Hi

I get the following error for SLE_11_SP2 and rpm gets failed at the end.
The same rpm is successfully built for OpenSUSE Factory except it
reports the following error as warnings

The following directories from jpackage-utils-1.7.5-1.noarch.rpm
are already part of the filesystem RPM:
/etc/java
/usr/share/java

You can workaround it by %{suse_version} macro

%if 0%{suse_version} > 1100
%{_syconfdir}/java
%{_datadir}/java
%endif

http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_version
http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto#Detect_a_distribution_flavor_for_special_code

Regards
Michal Vyskocil
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References