Conform to rpmlint

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Fix rpmlint warnings.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
dlezcano 2009-01-05 22:06:21 +00:00
parent 007c98a320
commit 91feede190

View File

@ -20,10 +20,10 @@
# License along with this library; if not, write to the Free Software # License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
%define _unpackaged_files_terminate_build 0 %define _unpackaged_files_terminate_build 0
%define RELEASE 1 %define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE: %RELEASE} %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE: %RELEASE}
# #
# Arguments that can be passed to the rpm builder: # Arguments that can be passed to the rpm builder:
@ -41,12 +41,11 @@
Name: @PACKAGE@ Name: @PACKAGE@
Version: @VERSION@ Version: @VERSION@
Release: %{rel} Release: %{rel}
Packager: <dlezcano@fr.ibm.com>
URL: http://lxc.sourceforge.net URL: http://lxc.sourceforge.net
Summary: %name Summary: %name
Group: Applications/System Group: Applications/System
License: LGPL License: LGPL
Source: %name/%name-%version.tar.gz Source: %name/%name-%version.tar.gz
BuildRoot: %_tmppath/%name-%version-root BuildRoot: %_tmppath/%name-%version-root
%description %description
@ -62,7 +61,7 @@ Virtual Private Server, or to run isolated applications like bash or
sshd. sshd.
%package devel %package devel
Release: %{rel} Release: %{rel}
Summary: development library for %{name} Summary: development library for %{name}
Requires: libcap Requires: libcap
Group: Application/System Group: Application/System
@ -93,7 +92,7 @@ rm -rf %{buildroot}
%post %post
if [ -d /var/lxc ]; then if [ -d /var/lxc ]; then
for i in $(ls -1 /var/lxc); do for i in $(ls -1 /var/lxc); do
chmod -fR go-rwx /var/lxc/$i chmod -fR go-rwx /var/lxc/$i
done done
mv /var/lxc /var/lxc.rpm-$$ mv /var/lxc /var/lxc.rpm-$$
fi fi
@ -102,7 +101,7 @@ mkdir -p /var/lxc
if [ -d /var/lxc.rpm-$$ ]; then if [ -d /var/lxc.rpm-$$ ]; then
for i in $(ls -1 /var/lxc.rpm-$$); do for i in $(ls -1 /var/lxc.rpm-$$); do
cp -a /var/lxc.rpm-$$/$i /var/lxc cp -a /var/lxc.rpm-$$/$i /var/lxc
done done
fi fi