- Merge review (#226337)
This commit is contained in:
parent
1d6e176f43
commit
6436aba4ef
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user