--- /dev/null
+improve matching security updates from changelogs:
+- match "security" case insensitively
+- match CVE-20xx, I doubt poldek exists in 2100, or I simply don't care :D
+
+--- poldek-0.30/pkgu.c~ 2011-11-26 01:45:15.000000000 +0200
++++ poldek-0.30/pkgu.c 2012-01-26 11:15:24.628984938 +0200
+@@ -508,7 +508,7 @@
+ struct changelog_ent *ent = n_array_nth(entries, i);
+ const char *m = ent->message;
+
+- if (strstr(m, "CVE-2") || strstr(m, "CVE-19") || strstr(m, "ecurity")) {
++ if (strstr(m, "CVE-20") || strstr(m, "CVE-19") || strcasestr(m, "security")) {
+ yes = 1;
+ break;
+ }
%define ver_rpm 4.5-49
%define snap rc3
-%define rel 3
+%define rel 4
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
Patch2: %{name}-size-type.patch
Patch3: %{name}-Os-fail-workaround.patch
Patch4: am-pkglib.patch
+Patch5: ls-security.patch
URL: http://poldek.pld-linux.org/
BuildRequires: autoconf
BuildRequires: automake
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
rm -f m4/libtool.m4 m4/lt*.m4