- Merge review (#226337)

This commit is contained in:
David Cantrell 2007-04-20 15:37:57 +00:00
parent 1d6e176f43
commit 6436aba4ef
2 changed files with 13 additions and 15 deletions

View File

@ -2,14 +2,15 @@
Summary: Python module for GNU parted
Name: pyparted
Version: 1.8.5
Release: 4%{?dist}
Version: 1.8.6
Release: 1%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://people.redhat.com/dcantrel/%{name}
Source0: http://people.redhat.com/dcantrel/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, parted-devel >= 1.8.6
Requires: parted >= 1.8.6
@ -21,27 +22,24 @@ partition tables.
%setup -q
%build
export CFLAGS="-fPIC -O2 -g2"
PYVER=$(%{__python} -c "import sys; print sys.version[:3]")
if [ ! -x configure ]; then
./autogen.sh --with-python-version=$PYVER
fi
%configure --with-python-version=$PYVER
make
%{__make} %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README COPYING
%doc README COPYING AUTHORS ChangeLog
%{python_sitearch}/partedmodule.so
%changelog
* Fri Apr 19 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-1
- Merge review (#226337)
* Tue Mar 20 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-4
- Rebuild for GNU parted-1.8.6

View File

@ -1 +1 @@
9097bc19e06350d865db38016ef98f4c pyparted-1.8.5.tar.gz
6aae2a503d21044d6354128d99458d11 pyparted-1.8.6.tar.bz2