Patch0: %{name}-vserver-packages.patch
Patch1: %{name}-config.patch
Patch2: %{name}-size-type.patch
-Patch3: ac-prog-libtool.patch
-Patch4: %{name}-Os-fail-workaround.patch
+Patch3: %{name}-Os-fail-workaround.patch
URL: http://poldek.pld-linux.org/
BuildRequires: autoconf
BuildRequires: automake
%patch0 -p1
%patch1 -p1
%patch2 -p1
-#%patch3 -p1
-%patch4 -p1
+%patch3 -p1
rm -f m4/libtool.m4 m4/lt*.m4
%endif
# sources we don't package
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{rh,pld,fedora,centos}-source.conf
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{{rh,pld,fedora,centos}-source,repos.d/pld}.conf
# include them in %doc
rm -rf configs
cp -a conf configs