Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
Re: [opensuse-buildservice] project config for RHEL6 / CentOS6
  • From: Michael Behrisch <behrisch@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 2 Apr 2012 23:44:16 +0200
  • Message-id: <CAMmsLhzUCxyPXi5pqCBt9CQik=601BLnvriiRyjL0AF9Wzq2Fg@mail.gmail.com>
Hi,
another question concerning global project config
netcdf is broken in Application:Geo due to a non-applicable patch (see below):
In addition to the already mentioned gfortran issue the info_prereq
seems to be a rather general topic as well.
Is it possible to fix this globally as well?

Regards,
Michael

--- netcdf.spec.orig
+++ netcdf.spec
@@ -34,8 +34,16 @@ Patch2: %{name}-%{version}-delet
Patch3: netcdf-codecleanup.patch
Patch4: netcdf-no_date_time.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: gcc-c++ gcc-fortran
+BuildRequires: gcc-c++
+%if 0%{?centos_version} || 0%{?rhel_version}
+BuildRequires: gcc-gfortran
+PreReq: info
+%define install_info install-info
+%define install_info_delete install-info --quiet –delete
+%else
+BuildRequires: gcc-fortran
PreReq: %install_info_prereq
+%endif

%description
This library provides array-oriented data access for the languages C
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups