[packages/qof] - up to 0.8.7 - removed outdated paches
baggins
baggins at pld-linux.org
Sat Nov 30 23:06:35 CET 2013
commit 847d05ed22f836922a212679cbe6db6dd294e2d0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Nov 30 23:06:12 2013 +0100
- up to 0.8.7
- removed outdated paches
ac.patch | 11 -----------
qof.spec | 17 +++++++----------
undefined_behavior.patch | 16 ----------------
3 files changed, 7 insertions(+), 37 deletions(-)
---
diff --git a/qof.spec b/qof.spec
index 97500fb..eaa7239 100644
--- a/qof.spec
+++ b/qof.spec
@@ -1,21 +1,19 @@
Summary: Query Object Framework
Summary(pl.UTF-8): Obiektowy szkielet zapytań
Name: qof
-Version: 0.8.1
-Release: 2
+Version: 0.8.7
+Release: 1
License: GPL v2+
Group: Libraries
-Source0: https://alioth.debian.org/frs/download.php/3059/%{name}-%{version}.tar.gz
-# Source0-md5: f504815983949752b7133f108760b99c
-Patch0: ac.patch
-Patch1: undefined_behavior.patch
+Source0: https://alioth.debian.org/frs/download.php/file/3908/%{name}-%{version}.tar.gz
+# Source0-md5: 4f32eaf1fa92819fccb1590fdc2233a5
URL: https://alioth.debian.org/projects/qof/
BuildRequires: autoconf >= 2.61
BuildRequires: automake
BuildRequires: db-devel
BuildRequires: gettext-devel >= 0.18.1
BuildRequires: glib2-devel >= 1:2.10.0
-BuildRequires: libgda3-devel >= 3.0.1
+BuildRequires: libgda5-devel
BuildRequires: libtool
BuildRequires: libxml2-devel >= 1:2.5.10
BuildRequires: perl-base >= 5.0
@@ -69,8 +67,6 @@ Statyczne biblioteki QOF.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
%{__gettextize}
@@ -83,7 +79,8 @@ Statyczne biblioteki QOF.
--disable-doxygen \
--enable-gdabackend \
--enable-sqlite
-%{__make}
+
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/ac.patch b/ac.patch
deleted file mode 100644
index 390afa0..0000000
--- a/ac.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- qof-0.8.1/configure.ac.wiget 2011-02-07 19:53:00.926872041 +0100
-+++ qof-0.8.1/configure.ac 2011-02-07 19:59:51.518454558 +0100
-@@ -9,7 +9,7 @@ AC_DEFUN([MAJOR], [0])
- AC_DEFUN([MINOR], [8])
- AC_DEFUN([MICRO], [1])
- AC_DEFUN([MY_VERSION], [MAJOR.MINOR.MICRO])
--AC_INIT([qof], [MY_VERSION],
-+AC_INIT([qof], MY_VERSION,
- [http://lists.sourceforge.net/lists/listinfo/qof-devel])
- AC_PREREQ(2.61)
- AC_GNU_SOURCE
diff --git a/undefined_behavior.patch b/undefined_behavior.patch
deleted file mode 100644
index 3fe2952..0000000
--- a/undefined_behavior.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- qof-0.8.1/qof/qofdate.c.wiget 2008-06-09 13:34:52.000000000 +0200
-+++ qof-0.8.1/qof/qofdate.c 2011-02-07 20:05:26.363251218 +0100
-@@ -494,8 +494,11 @@ date_normalise (QofDate * date)
- {
- /* -1 == Dec, -4 == Sep */
- date->qd_mon += 12 + 1;
-- date->qd_year = (date->qd_year < 0) ?
-- date->qd_year++ : date->qd_year--;
-+ if (date->qd_year < 0) {
-+ date->qd_year += 1;
-+ } else {
-+ date->qd_year -= 1;
-+ }
- }
- }
- days = days_in_months[qof_date_isleap(date->qd_year)][date->qd_mon];
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qof.git/commitdiff/847d05ed22f836922a212679cbe6db6dd294e2d0
More information about the pld-cvs-commit
mailing list