From 2a7dbc0eed498d632ca53a19ffb9f8a092967a2d Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 9 Mar 2012 12:21:55 -0800 Subject: [PATCH] - Add python-isomd5sum package with python bindings - Add callback and interrupt support to the python library - Add RPM_OPT_FLAGS to CFLAGS and update makefile to use CFLAGS from environment --- .gitignore | 1 + isomd5sum.spec | 24 ++++++++++++++++++++---- sources | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 0451ae7..fd165ca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ isomd5sum-1.0.6.tar.bz2 /isomd5sum-1.0.7.tar.bz2 +/isomd5sum-1.0.9.tar.bz2 diff --git a/isomd5sum.spec b/isomd5sum.spec index 3fc47b1..7382bde 100644 --- a/isomd5sum.spec +++ b/isomd5sum.spec @@ -1,7 +1,7 @@ Summary: Utilities for working with md5sum implanted in ISO images Name: isomd5sum -Version: 1.0.7 -Release: 2%{?dist} +Version: 1.0.9 +Release: 1%{?dist} Epoch: 1 License: GPLv2+ Group: Applications/System @@ -24,16 +24,23 @@ Provides: %{name}-static = %{epoch}:%{version}-%{release} This contains header files and a library for working with the isomd5sum implanting and checking. +%package -n python-isomd5sum +Summary: Python bindings for isomd5sum +BuildRequires: python-devel + +%description -n python-isomd5sum +Python bindings for isomd5sum %prep %setup -q %build -make checkisomd5 implantisomd5 +CFLAGS="$RPM_OPT_FLAGS -Wno-strict-aliasing"; export CFLAGS +make checkisomd5 implantisomd5 pyisomd5sum.so %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel +make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel install-python %clean rm -rf $RPM_BUILD_ROOT @@ -51,7 +58,16 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/*.h %{_libdir}/*.a +%files -n python-isomd5sum +%defattr(-,root,root,-) +%{python_sitearch}/pyisomd5sum.so + %changelog +* Fri Mar 09 2012 Brian C. Lane 1.0.9-1 +- Add python-isomd5sum package with python bindings +- Add callback and interrupt support to the python library +- Add RPM_OPT_FLAGS to CFLAGS and update makefile to use CFLAGS from environment + * Fri Jan 13 2012 Fedora Release Engineering - 1:1.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 4dfe8f6..7faf52a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -370c8ae799c15dd6f453aed269112c59 isomd5sum-1.0.7.tar.bz2 +fd2a7e23d6a1975384474370a07b0079 isomd5sum-1.0.9.tar.bz2