Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
91feede1
Commit
91feede1
authored
Jan 05, 2009
by
dlezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Conform to rpmlint
From: Daniel Lezcano <dlezcano@fr.ibm.com> Fix rpmlint warnings. Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
007c98a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
lxc.spec.in
lxc.spec.in
+6
-7
No files found.
lxc.spec.in
View file @
91feede1
...
@@ -20,10 +20,10 @@
...
@@ -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 @@
...
@@ -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
...
@@ -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}
...
@@ -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
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment