%define ver_db_rel 3
%define ver_rpm 4.5-71
-%define rel 2
+%define rel 1
Summary: RPM packages management helper tool
Summary(hu.UTF-8): RPM csomagkezelést segítő eszköz
Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
Name: poldek
-Version: 0.30.0
+Version: 0.30.1
Release: %{rel}
License: GPL v2
Group: Applications/System
#Source0: http://poldek.pld-linux.org/download/snapshots/%{name}-%{version}-cvs%{snap}.tar.bz2
Source0: http://carme.pld-linux.org/~megabajt/releases/poldek/%{name}-%{version}.tar.xz
-# Source0-md5: 392cfa125912fbedb6cc6d54dfbb80e3
+# Source0-md5: e569c8454df0932df53b09cee9998927
Source1: %{name}.conf
Source2: %{name}-multilib.conf
Source5: %{name}-aliases.conf
Source6: %{name}.desktop
Source7: %{name}.png
Patch0: %{name}-size-type.patch
-Patch1: %{name}-Os-fail-workaround.patch
-Patch2: %{name}-config.patch
+Patch1: %{name}-config.patch
URL: http://poldek.pld-linux.org/
BuildRequires: %{db_pkg}-devel >= %{ver_db}-%{ver_db_rel}
BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: automake >= 1:1.11
BuildRequires: bzip2-devel
BuildRequires: check-devel
BuildRequires: docbook-dtd412-xml
BuildRequires: %{db_pkg}-static >= %{ver_db}-%{ver_db_rel}
BuildRequires: bzip2-static
BuildRequires: glibc-static
-BuildRequires: libselinux-static
BuildRequires: libxml2-static
BuildRequires: ncurses-static
BuildRequires: openssl-static
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%{__rm} m4/libtool.m4 m4/lt*.m4
chmod u+x ./configure ./doc/conf-xml2.sh
%build
+%{__gettextize}
%{__libtoolize}
%{__aclocal} -I m4
%{__autoheader}
%{__automake}
cd ..
-CPPFLAGS="%{rpmcppflags} -std=gnu99"
+CPPFLAGS="%{rpmcppflags} -std=gnu99 -fgnu89-inline"
%configure \
%{?with_static:--enable-static --disable-shared} \
%{!?with_imode:--disable-imode} \