<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>11325</bug_id>
          
          <creation_ts>2007-04-03 13:44:59 +0400</creation_ts>
          <short_desc>jpackage compatibility changes required</short_desc>
          <delta_ts>2007-05-23 12:59:39 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xerces-j</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="viy">viy</reporter>
          <assigned_to name="Eugene Ostapets">eostapets</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47727</commentid>
    <comment_count>0</comment_count>
    <who name="viy">viy</who>
    <bug_when>2007-04-03 13:44:59 +0400</bug_when>
    <thetext>чтобы работала сборка ряда пакетов через jpackage-utils
нужно добавить ряд симлинков и Provides:
как в 
ftp://ftp.heanet.ie/pub/jpackage/1.7/generic/free/SRPMS/xerces-j2-2.7.1-9jpp.src.rpm

Как минимум это xerces-j2 и xerces-j2.jar.
я локально костыль сваял, см. ниже спек.
смержить его бы, либо
выдать мне права на допиливание пакета.

%define xerces_j_version 2_8_1

Name: jpackage-compat
Version: 0.01
Release: alt1

Summary: ALT to JPackage build compatibility adaptor.
Group: Development/Java
License: Apache
Url: http://www.sisyphus.ru/packages/viy/srpms

BuildArch: noarch

BuildPreReq: rpm-build-java
BuildPreReq: jpackage-utils

BuildRequires: xerces-j

Provides: xerces-j2 = %{xerces_j_version}-%{release}
Requires: xerces-j

%description
JPackage compatibility package. the main goal is to provide all nessssary symlinks,
Requires and BuildRequires for ALT to be build compatible with JPackage.

This package should be gone when all java packages will satisfy the JPackage policy.

%prep

%build

%install
install -d $RPM_BUILD_ROOT%_javadir
if [ -L %_javadir/xerces-j.jar ]; then
    echo &quot;Build Failed: compat isn&apos;t needed for xerces!&quot;
    exit 10;
else
    ln -s xerces-j.jar $RPM_BUILD_ROOT%_javadir/xerces-j2-%{xerces_j_version}.jar
    ln -s xerces-j.jar $RPM_BUILD_ROOT%_javadir/xerces-j2.jar
fi

%files
%_javadir/*

%changelog
* Sat Mar 24 2007 Igor Vlasenko &lt;viy@altlinux.ru&gt; 0.01-alt1
- initial build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47735</commentid>
    <comment_count>1</comment_count>
    <who name="Eugene Ostapets">eostapets</who>
    <bug_when>2007-04-03 14:49:19 +0400</bug_when>
    <thetext>Сегодня вечером закину новую сборку</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48009</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2007-04-05 20:13:03 +0400</bug_when>
    <thetext>Я жутко извиняюсь, у меня завтра возможность будет свое залить,
Если бы вы с вечера/с утра бросили xerces-j,
очень было бы удобно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50609</commentid>
    <comment_count>3</comment_count>
    <who name="viy">viy</who>
    <bug_when>2007-05-23 12:59:20 +0400</bug_when>
    <thetext>fixed all</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>