Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
certmaster
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
certmaster.spec
@@ -1,8 +1,6 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) - Summary: Remote certificate distribution framework Name: certmaster Source1: version @@ -14,10 +12,10 @@ Requires: python >= 2.3 Requires: pyOpenSSL BuildRequires: python-devel -%if %is_suse +%if 0%{?suse_version} BuildRequires: gettext-devel %else -%if 0%{?fedora} >= 8 +%if 0%{?fedora_version} >= 8 BuildRequires: python-setuptools-devel %else BuildRequires: python-setuptools @@ -46,7 +44,7 @@ %files %defattr(-, root, root, -) -%if 0%{?fedora} > 8 +%if 0%{?fedora_version} > 8 %{python_sitelib}/certmaster*.egg-info %endif %{_bindir}/certmaster @@ -74,7 +72,9 @@ %dir /var/lib/certmaster/triggers/remove/post %doc AUTHORS README LICENSE %{_mandir}/man1/*.1.gz - +%if 0%{?suse_version} +%{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info +%endif %post # for suse