Accepting request 130012 from GNOME:Apps
Only require guile1 on 12.2, not libguile1-devel... (forwarded request 130011 from dimstar) OBS-URL: https://build.opensuse.org/request/show/130012 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=45
This commit is contained in:
committed by
Git OBS Bridge
parent
0359c254bd
commit
73ee563866
25
gnucash.spec
25
gnucash.spec
@@ -17,20 +17,16 @@
|
||||
|
||||
|
||||
Name: gnucash
|
||||
Version: 2.4.10
|
||||
Version: 2.4.11
|
||||
Release: 0
|
||||
Summary: Personal Finance Manager
|
||||
License: SUSE-GPL-2.0-with-openssl-exception or SUSE-GPL-3.0-with-openssl-exception
|
||||
Group: Productivity/Office/Finance
|
||||
Url: http://www.gnucash.org/
|
||||
Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/2.4.10/%{name}-%{version}.tar.bz2
|
||||
Source: http://downloads.sourceforge.net/project/gnucash/gnucash%20%28stable%29/2.4.11/%{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM gnucash-fix-python-install.patch bgo#668196 vuntz@opensuse.org -- Fix installation of python bindings
|
||||
Patch0: gnucash-fix-python-install.patch
|
||||
# PATCH-FIX-UPSTREAM gnucash-tip-of-the-day.patch bnc#771603 dimstar@opensuse.org -- Fix tip-of-the-day with gcc-4.7, svn commit r22246
|
||||
Patch1: gnucash-tip-of-the-day.patch
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
||||
Patch3: gnucash-cpan-warning.patch
|
||||
Patch0: gnucash-cpan-warning.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
@@ -62,14 +58,21 @@ BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(webkit-1.0)
|
||||
#BuildRequires: callgrind
|
||||
# tested but unused BuildRequires: readline-devel qt3-devel termcap
|
||||
%if %{?suse_version} >= 1210
|
||||
# FIXME: guile1 should be enough, but:
|
||||
|
||||
# In openSUSE 12.2, guile1 packaging was fixed to have the .so files in the main package
|
||||
%if 0%{?suse_version} > 1210
|
||||
Requires: guile1
|
||||
%else
|
||||
%if 0%{?suse_version} == 1210
|
||||
# on 12.1, guile1 was 'broken' and we require libguile1-devel
|
||||
# ERROR: In procedure dynamic-link:
|
||||
# ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"
|
||||
Requires: libguile1-devel
|
||||
%else
|
||||
# Before openSUSE 12.1, guile 2 was not existing, so guile == guile1
|
||||
Requires: guile
|
||||
%endif
|
||||
%endif
|
||||
# Required to make quotes working. Gnucash can run without quotes support:
|
||||
Requires: perl-Crypt-SSLeay
|
||||
Requires: perl-Date-Manip
|
||||
@@ -130,10 +133,8 @@ balanced books.
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
# This patch must be applied:
|
||||
%patch3
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%if %{?suse_version} >= 1210
|
||||
|
Reference in New Issue
Block a user