auto-import changelog data from lockdev-1.0.0-23.src.rpm

Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- add symlink to shared lib
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com>
- don't segfault if device arg is missing.
This commit is contained in:
cvsdist 2004-09-09 08:00:01 +00:00
parent 5dec933e1d
commit 6136e045be
2 changed files with 24 additions and 1 deletions

11
lockdev-1.0.0-cli.patch Normal file
View File

@ -0,0 +1,11 @@
--- lockdev-1.0.0/src/sample.c.jbj 2002-11-29 10:10:35.000000000 -0500
+++ lockdev-1.0.0/src/sample.c 2002-11-29 10:12:24.000000000 -0500
@@ -31,6 +31,8 @@
}
else dev = p;
}
+ if (dev == NULL)
+ usage();
i = 0;
(void) dev_setpid(getppid());
switch(ch) {

View File

@ -1,13 +1,14 @@
Summary: A library for locking devices.
Name: lockdev
Version: 1.0.0
Release: 20
Release: 23
License: LGPL
Group: System Environment/Libraries
Source: ftp://ftp.debian.org/debian/dists/woody/main/source/libs/lockdev_1.0.0.tar.gz
Patch0: lockdev-1.0.0-rh.patch
Patch1: lockdev-1.0.0-shared.patch
Patch2: lockdev-1.0.0-signal.patch
Patch3: lockdev-1.0.0-cli.patch
Prereq: shadow-utils, filesystem >= 2.1.4-1
BuildRoot: %{_tmppath}/%{name}-root
@ -30,6 +31,7 @@ package contains the development headers and a static library.
%patch0 -p1 -b .redhat
%patch1 -p1 -b .shared
%patch2 -p1 -b .signal
%patch3 -p1 -b .jbj
%build
make "CFLAGS=${RPM_OPT_FLAGS} -fPIC"
@ -42,6 +44,7 @@ make \
incdir=${RPM_BUILD_ROOT}%{_includedir} \
mandir=${RPM_BUILD_ROOT}%{_mandir} \
install
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
mkdir -p $RPM_BUILD_ROOT/var/lock
@ -68,6 +71,15 @@ rm -fr $RPM_BUILD_ROOT
%{_includedir}/*
%changelog
* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- add symlink to shared lib
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com>
- don't segfault if device arg is missing.
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild