Commit b89ff7e5 authored by Devaev Maxim's avatar Devaev Maxim

Fixed incorrect path in const.py at RPM build

parent 6f2d97de
......@@ -29,6 +29,7 @@ Requires: lsb-release
%install
%python_install
%__sed -i -e 's|%buildroot||g' %buildroot%python_sitelibdir/%name/const.py
%files
......
......@@ -39,6 +39,8 @@ class SettingsdInstall(install) :
### Private ###
def postInstallHooks(self) :
# FIXME: This is dirty hack. In normal realization, this code must be moved to build stage
log.info("running post-install hooks")
const_py_file = open(os.path.join(self.install_libbase, "settingsd/const.py"), "r+")
......@@ -64,7 +66,7 @@ class SettingsdInstall(install) :
setup(
name = "settingsd",
version = "0.1",
url = "http://etersoft.ru/", # FIXME
url = "http://etersoft.ru/", # FIXME: Add project url
license = "GPL",
author = "Devaev Maxim",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment