[uucp] do not use baudboy.h, use lockdev instead (#747944)
Ondrej Vasik
ovasik at fedoraproject.org
Fri Oct 21 13:59:20 UTC 2011
commit 08dc946f271aa936fcef9fe1d70f6f023ad342ed
Author: Ondřej Vašík <ovasik at redhat.com>
Date: Fri Oct 21 15:59:17 2011 +0200
do not use baudboy.h, use lockdev instead (#747944)
uucp-1.07-baudboy.patch | 41 -----------------------------------------
uucp.spec | 13 +++++++++----
2 files changed, 9 insertions(+), 45 deletions(-)
---
diff --git a/uucp.spec b/uucp.spec
index 14703e9..ac7339c 100644
--- a/uucp.spec
+++ b/uucp.spec
@@ -14,7 +14,7 @@
Summary: A set of utilities for operations between systems
Name: uucp
Version: 1.07
-Release: 26%{?dist}
+Release: 27%{?dist}
License: GPLv2+
Group: Applications/Communications
Url: http://www.airs.com/ian/uucp.html
@@ -25,8 +25,8 @@ Source3: uucp.socket
#Make the policy header better readable
Patch0: uucp-1.07-config.patch
Patch3: uucp-1.07-sigfpe.patch
-#Use baudboy.h to create per-device lock(s) in /var/lock.
-Patch6: uucp-1.07-baudboy.patch
+#Use lockdev to create per-device lock(s) in /var/lock.
+Patch6: uucp-1.07-lockdev.patch
#Fix to deny to use address in pipe ports.(thanks joery at dorchain.net)(#60771)
Patch8: uucp-1.06.1-pipe.patch
#fix truncation of values on 32b platforms where statvfs64
@@ -42,6 +42,7 @@ Requires: lockdev >= 1.0.0-14
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tetex, texi2html
BuildRequires: systemd-units
+BuildRequires: autoconf, automake
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
@@ -56,12 +57,13 @@ local machines.
%setup -q
%patch0 -p1 -b .config
%patch3 -p1 -b .sigfpe
-%patch6 -p1 -b .baudboy
+%patch6 -p1 -b .lockdev
%patch8 -p1 -b .pipe
%patch9 -p1 -b .lfs
%patch10 -p1 -b .sigfpe2
%build
+autoreconf --verbose --force --install
export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
%configure --with-newconfigdir=%{_newconfigdir} --with-oldconfigdir=%{_oldconfigdir}
make %{?_smp_mflags}
@@ -212,6 +214,9 @@ fi
%config(noreplace) %{_newconfigdir}/sys
%changelog
+* Fri Oct 21 2011 Ondrej Vasik <ovasik at redhat.com> - 1.07-27
+- do not use baudboy.h, use lockdev instead (#747944)
+
* Tue Sep 13 2011 Ondrej Vasik <ovasik at redhat.com> - 1.07-26
- provide native systemd services (#737730)
- drop uucp.xinetd
More information about the scm-commits
mailing list