- fix rpmlint issues
- change lockdev permissions from 2755 to 2711
This commit is contained in:
parent
1764734190
commit
3d82be9583
15
lockdev.spec
15
lockdev.spec
@ -1,9 +1,10 @@
|
|||||||
Summary: A library for locking devices.
|
Summary: A library for locking devices
|
||||||
Name: lockdev
|
Name: lockdev
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 10
|
Release: 11%{?dist}
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
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
|
Source: http://ftp.debian.org/debian/pool/main/l/lockdev/%{name}_%{version}.orig.tar.gz
|
||||||
|
|
||||||
Patch0: lockdev-1.0.0-rh.patch
|
Patch0: lockdev-1.0.0-rh.patch
|
||||||
@ -21,7 +22,8 @@ Requires(post): glibc
|
|||||||
Requires(postun): glibc
|
Requires(postun): glibc
|
||||||
PreReq: filesystem >= 2.1.4-1
|
PreReq: filesystem >= 2.1.4-1
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRequires: perl
|
||||||
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lockdev provides a reliable way to put an exclusive lock to devices
|
Lockdev provides a reliable way to put an exclusive lock to devices
|
||||||
@ -75,8 +77,7 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(2755,root,lock) %{_sbindir}/lockdev
|
%attr(2711,root,lock) %{_sbindir}/lockdev
|
||||||
%dir %attr(775,root,lock) /var/lock
|
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -87,6 +88,10 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 12 2007 Karel Zak <kzak@redhat.com> - 1.0.1-11
|
||||||
|
- fix rpmlint issues
|
||||||
|
- change lockdev permissions from 2755 to 2711
|
||||||
|
|
||||||
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> - 1.0.1-10
|
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> - 1.0.1-10
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user