]> git.proxmox.com Git - mirror_lxc.git/commit - lxc.spec.in
update rpm .spec file
authorDwight Engen <dwight.engen@oracle.com>
Tue, 22 Oct 2013 20:33:26 +0000 (16:33 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 22 Oct 2013 20:47:25 +0000 (16:47 -0400)
commit0adde0f84150f14b1eed82f7438e084ba0460329
tree95abb02d07827e8dbb17c0b1479dd173f39eb0b5
parent7a409fd5167ecdcbf33a64f1cf9202dc051f0dcf
update rpm .spec file

The following changes were made to fix rpmlint warnings/errors
- use %global instead of %define
  http://fedoraproject.org/wiki/PackagingDrafts/global_preferred_over_define
- change Summary to match .deb
- update License
- do not mention the libcap dependency explicitly, rpm will fill it in
- fix Summary, Description for libs and devel packages
- pass -q to %setup
- add %post for libs to run ldconfig
- explicitly name lxc man paths so pkg doesn't "own" /usr/share/man
- mark /etc/lxc/default.conf as a config file

In addition, while I was here:
- split lua bits into seperate lxc-lua package
- change Description to match .deb
- remove "Version" in changelog entries to follow
  http://fedoraproject.org/wiki/Packaging:Guidelines#Changelogs

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
lxc.spec.in