OBS User unknown 2008-04-21 00:29:55 +00:00 committed by Git OBS Bridge
parent f1c3ef9bf0
commit 2bc83d212d
3 changed files with 20 additions and 1 deletions

10
quota-3.16-glibc2_8.patch Normal file
View File

@ -0,0 +1,10 @@
--- quota_nld.c
+++ quota_nld.c
@@ -22,6 +22,7 @@
#include <errno.h>
#include <string.h>
#include <fcntl.h>
+#include <limits.h>
#include <netlink/genl/genl.h>
#include <netlink/genl/ctrl.h>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 15 15:43:10 CEST 2008 - lmichnovic@suse.cz
- fixed missing inclusion of limits.h (glibc2_8.patch)
-------------------------------------------------------------------
Mon Apr 14 17:50:39 CEST 2008 - lmichnovic@suse.cz

View File

@ -14,7 +14,7 @@
Name: quota
BuildRequires: dbus-1-devel e2fsprogs-devel libnl-devel pkg-config tcpd-devel
Version: 3.16
Release: 11
Release: 13
PreReq: %insserv_prereq %fillup_prereq
AutoReqProv: on
Group: System/Filesystems
@ -28,6 +28,7 @@ Patch2: %{name}-%{version}-man.patch
Patch3: %{name}-%{version}-warnquota.patch
Patch4: %{name}-%{version}-type.patch
Patch5: %{name}-%{version}-dbus_header_check.patch
Patch6: %{name}-%{version}-glibc2_8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -75,6 +76,7 @@ Authors:
%patch3
%patch4
%patch5
%patch6
find -type d -name CVS -exec rm -rf {} \; -prune
find -type d | xargs chmod 755
@ -146,6 +148,8 @@ rm -rf $RPM_BUILD_ROOT
%exclude /usr/include/rpcsvc/*
%changelog
* Tue Apr 15 2008 lmichnovic@suse.cz
- fixed missing inclusion of limits.h (glibc2_8.patch)
* Mon Apr 14 2008 lmichnovic@suse.cz
- enabled compilation with netlink
- needed rewrite of configure check (*dbus_header_check.patch)