Changes of Revision 2
[-] | Changed | certmaster.spec |
x 1
2 3 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 4 5 -%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) 6 - 7 Summary: Remote certificate distribution framework 8 Name: certmaster 9 Source1: version 10
11 Requires: python >= 2.3 12 Requires: pyOpenSSL 13 BuildRequires: python-devel 14 -%if %is_suse 15 +%if 0%{?suse_version} 16 BuildRequires: gettext-devel 17 %else 18 -%if 0%{?fedora} >= 8 19 +%if 0%{?fedora_version} >= 8 20 BuildRequires: python-setuptools-devel 21 %else 22 BuildRequires: python-setuptools 23
24 25 %files 26 %defattr(-, root, root, -) 27 -%if 0%{?fedora} > 8 28 +%if 0%{?fedora_version} > 8 29 %{python_sitelib}/certmaster*.egg-info 30 %endif 31 %{_bindir}/certmaster 32
33 %dir /var/lib/certmaster/triggers/remove/post 34 %doc AUTHORS README LICENSE 35 %{_mandir}/man1/*.1.gz 36 - 37 +%if 0%{?suse_version} 38 +%{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info 39 +%endif 40 41 %post 42 # for suse 43 |