On Wednesday 23 January 2008, Adrian Schroeter wrote:
Hi,
I will remove the obsolete project Java:Sun-Java-1.5 in a second.
No built rpms will disappear, but also no new packages get build until you fix your project setup.
You can do this easily by calling
osc meta prj -e <your_project>
and replace
<path project="deleted...." repository="...."/>
with a propper :NonFree project which provides the matching Java engines, for example
<path project="openSUSE:10.3:NonFree" repository="standard"/>
I has got into troubles with the OpenOffice_org:STABLE and OpenOffice_org:UNSTABLE projects. OpenOffice_org.spec uses: BuildRequires: java2-devel-packages It is now substituted to BuildRequires: gcc-java java-1_4_2-gcj-compat-devel I would prefere to substitute it to: BuildRequires: java-1_5_0-sun-devel Well, I agree that the gcc-java stuff is a good default setting for the "Free" distro. I tried to change it in the project setting using: osc meta prjconf -e OpenOffice.org:STABLE with %if %suse_version == 1030 Substitute: java2-devel-packages java-1_5_0-sun-devel %endif It installed java-1_5_0-sun-devel instead of gcc-java. Though, it did the following substitution in the spec file: < BuildRequires: java2-devel-packages --- > BuildRequires: gcc-java java-1_4_2-gcj-compat-devel java-1_5_0-sun-devel and complained about: error: Failed build dependencies: gcc-java is needed by OpenOffice_org-2.3.1.2-1.i586 java-1_4_2-gcj-compat-devel is needed by OpenOffice_org-2.3.1.2-1.i586 => it installed only the Sun Java but it still put the gcc-java stuff into the spec file. See also the attached files. I have solved it by changing the original spec file to: java-1_5_0-sun-devel What is the preferred solution? Could you please fix the problem with BuildRequires substitution in the spec files? The installed packages and BuildRequires should be in sync. -- Best Regards, Petr Mladek software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: pmladek@suse.cz Lihovarská 1060/12 tel: +420 284 028 952 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/