X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=poldek.spec;h=60d97dd1a3ef413baf638c3eaf143bd0f6ae7c54;hb=357fa302779d1fb1443f41d9f03c5afa87a937ad;hp=e7e233ae9f60d5c46731920709c13228d2febeca;hpb=ced6ad4ab85e24192a3fdb71fa0f9ddb1334bec0;p=packages%2Fpoldek.git diff --git a/poldek.spec b/poldek.spec index e7e233a..60d97dd 100644 --- a/poldek.spec +++ b/poldek.spec @@ -6,34 +6,34 @@ # required versions (forced to avoid SEGV with mixed db used by rpm and poldek) %define db_pkg db4.5 -%define ver_db 4.5.20 -%define ver_db_rel 3 +%define ver_db 4.5.20.2 +%define ver_db_rel 2 %define ver_rpm 4.5-71 -%define rel 2 +%define rel 5 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 +Patch2: %{name}-libdb.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 @@ -58,7 +58,6 @@ BuildRequires: zlib-devel 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 @@ -203,6 +202,7 @@ find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f chmod u+x ./configure ./doc/conf-xml2.sh %build +%{__gettextize} %{__libtoolize} %{__aclocal} -I m4 %{__autoheader} @@ -222,7 +222,7 @@ cd ../trurlib %{__automake} cd .. -CPPFLAGS="%{rpmcppflags} -std=gnu99" +CPPFLAGS="%{rpmcppflags} -std=gnu99 -fgnu89-inline" %configure \ %{?with_static:--enable-static --disable-shared} \ %{!?with_imode:--disable-imode} \ @@ -230,7 +230,6 @@ CPPFLAGS="%{rpmcppflags} -std=gnu99" --enable-nls \ %{?with_python:--with-python} %{__make} -j1 -# --enable-trace %install rm -rf $RPM_BUILD_ROOT