rpms/lockdev/devel lockdev.8,1.1,1.2 lockdev.spec,1.39,1.40

Jiří Popelka jpopelka at fedoraproject.org
Thu Jan 21 11:53:07 UTC 2010


Author: jpopelka

Update of /cvs/pkgs/rpms/lockdev/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30822

Modified Files:
	lockdev.8 lockdev.spec 
Log Message:
* Thu Jan 21 2010 Jiri Popelka <jpopelka at redhat.com> - 1.0.3-4
- create -static subpackage to ship static library separately
- update lockdev.8 manpage



Index: lockdev.8
===================================================================
RCS file: /cvs/pkgs/rpms/lockdev/devel/lockdev.8,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- lockdev.8	25 Sep 2009 17:01:58 -0000	1.1
+++ lockdev.8	21 Jan 2010 11:53:07 -0000	1.2
@@ -4,7 +4,12 @@
 .\" Man page written by Jiri Popelka <jpopelka AT redhat DOT com>
 .\"
 .SH NAME
-\fBlockdev\fR demonstrates functionality of liblockdev library.
+\fBLockdev\fR is a setgid binary,
+which provides a reliable way to put an exclusive lock
+in /var/lock to devices (e.g. ttyS0) using both FSSTND and SVr4 methods,
+so regular users don't need write access there.
+
+This task is achieved through calls to the liblockdev(3) API.
 
 .SH SYNOPSIS
 .B /usr/sbin/lockdev
@@ -12,7 +17,7 @@
 .RB < device >
 
 .SH DESCRIPTION
-The \fBlockdev\fR command can perform one of the following operations:
+The \fBlockdev\fR command can perform one of the following operations (calls to liblockdev(3) API):
 
 \fB-l\fR - lock device with \fBdev_lock()\fR function
 


Index: lockdev.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lockdev/devel/lockdev.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -r1.39 -r1.40
--- lockdev.spec	10 Dec 2009 16:21:53 -0000	1.39
+++ lockdev.spec	21 Jan 2010 11:53:07 -0000	1.40
@@ -1,7 +1,7 @@
 Summary: A library for locking devices
 Name: lockdev
 Version: 1.0.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPLv2
 Group: System Environment/Libraries
 URL: http://packages.debian.org/unstable/source/lockdev
@@ -29,14 +29,22 @@ Lockdev provides a reliable way to put a
 using both FSSTND and SVr4 methods.
 
 %package devel
-Summary: The header files and a static library for the lockdev library.
+Summary: The header files for the lockdev library.
 Group: System Environment/Libraries
 Requires: lockdev = %{version}-%{release}
 
 %description devel
 The lockdev library provides a reliable way to put an exclusive lock
 on devices using both FSSTND and SVr4 methods. The lockdev-devel
-package contains the development headers and a static library.
+package contains the development headers.
+
+%package static
+Summary: Static library for lockdev
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+This package contains the static version of the lockdev library.
 
 %prep
 %setup -q
@@ -84,12 +92,19 @@ rm -fr $RPM_BUILD_ROOT
 
 %files devel
 %defattr(-,root,root)
-%{_libdir}/*.a
 %{_libdir}/*.so
 %{_mandir}/man3/*
 %{_includedir}/*
 
+%files static
+%defattr(-,root,root,-)
+%{_libdir}/*.a
+
 %changelog
+* Thu Jan 21 2010 Jiri Popelka <jpopelka at redhat.com> - 1.0.3-4
+- create -static subpackage to ship static library separately
+- update lockdev.8 manpage
+
 * Thu Dec 10 2009 Jiri Popelka <jpopelka at redhat.com> - 1.0.3-3
 - Correct rh.patch
 



More information about the scm-commits mailing list