diff --git a/lockdev.spec b/lockdev.spec index b4b178e..f26ba52 100644 --- a/lockdev.spec +++ b/lockdev.spec @@ -1,9 +1,10 @@ -Summary: A library for locking devices. +Summary: A library for locking devices Name: lockdev Version: 1.0.1 -Release: 10 +Release: 11%{?dist} License: LGPL Group: System Environment/Libraries +URL: http://packages.debian.org/unstable/source/lockdev Source: http://ftp.debian.org/debian/pool/main/l/lockdev/%{name}_%{version}.orig.tar.gz Patch0: lockdev-1.0.0-rh.patch @@ -21,7 +22,8 @@ Requires(post): glibc Requires(postun): glibc PreReq: filesystem >= 2.1.4-1 -BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: perl +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Lockdev provides a reliable way to put an exclusive lock to devices @@ -75,8 +77,7 @@ rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) -%attr(2755,root,lock) %{_sbindir}/lockdev -%dir %attr(775,root,lock) /var/lock +%attr(2711,root,lock) %{_sbindir}/lockdev %{_libdir}/*.so.* %files devel @@ -87,6 +88,10 @@ rm -fr $RPM_BUILD_ROOT %{_includedir}/* %changelog +* Thu Apr 12 2007 Karel Zak - 1.0.1-11 +- fix rpmlint issues +- change lockdev permissions from 2755 to 2711 + * Wed Jul 19 2006 Karel Zak - 1.0.1-10 - rebuild