[lxc-devel] [lxc/lxc] 0adde0: update rpm .spec file

GitHub noreply at github.com
Tue Oct 22 20:47:34 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0adde0f84150f14b1eed82f7438e084ba0460329
      https://github.com/lxc/lxc/commit/0adde0f84150f14b1eed82f7438e084ba0460329
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2013-10-22 (Tue, 22 Oct 2013)

  Changed paths:
    M lxc.spec.in

  Log Message:
  -----------
  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 at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 3ffe454baf944a7803b12c2cbd9e33ca81b76784
      https://github.com/lxc/lxc/commit/3ffe454baf944a7803b12c2cbd9e33ca81b76784
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2013-10-22 (Tue, 22 Oct 2013)

  Changed paths:
    M src/lua-lxc/Makefile.am

  Log Message:
  -----------
  install lua module 0644 instead of 0755

Fixes rpmlint error "script-without-shebang". Checked other lua modules
and none are installed with execute permission.

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


Compare: https://github.com/lxc/lxc/compare/7a409fd5167e...3ffe454baf94


More information about the lxc-devel mailing list