From b26e3f263e4566dc86f7149964bc892a72520df0 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Sep 26 2006 11:15:30 +0000 Subject: - Drop Obsoletes: openssl-python, openssl-python was last shipped in RHL 7.1 - Fix interpreter paths in demos --- diff --git a/m2crypto.spec b/m2crypto.spec index 129ace6..ef855f5 100644 --- a/m2crypto.spec +++ b/m2crypto.spec @@ -3,7 +3,7 @@ Summary: Support for using OpenSSL in python scripts Name: m2crypto Version: 0.16 -Release: 3 +Release: 4 Source0: http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/m2crypto-%{version}.tar.gz License: BSDish Group: System Environment/Libraries @@ -12,7 +12,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel, python-devel BuildRequires: perl, pkgconfig, swig, unzip Requires: python -Obsoletes: openssl-python %description This package allows you to call OpenSSL functions from python scripts. @@ -51,6 +50,14 @@ fi python setup.py install --root=$RPM_BUILD_ROOT +for i in medusa medusa054; do + sed -i -e '1s,#! /usr/local/bin/python,#! /usr/bin/python,' \ + demo/$i/http_server.py +done + +# Windows-only +rm demo/Zope/starts.bat + %clean rm -rf $RPM_BUILD_ROOT @@ -60,6 +67,10 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/M2Crypto %changelog +* Tue Sep 26 2006 Miloslav Trmac - 0.16-4 +- Drop Obsoletes: openssl-python, openssl-python was last shipped in RHL 7.1 +- Fix interpreter paths in demos + * Sat Sep 23 2006 Miloslav Trmac - 0.16-3 - Make more compliant with Fedora guidelines - Update URL: