packages: libaio/libaio.spec - no need for src.rpm, use tarball

arekm arekm at pld-linux.org
Mon Jan 18 15:38:38 CET 2010


Author: arekm                        Date: Mon Jan 18 14:38:38 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- no need for src.rpm, use tarball

---- Files affected:
packages/libaio:
   libaio.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/libaio/libaio.spec
diff -u packages/libaio/libaio.spec:1.13 packages/libaio/libaio.spec:1.14
--- packages/libaio/libaio.spec:1.13	Mon Jan 18 15:35:36 2010
+++ packages/libaio/libaio.spec	Mon Jan 18 15:38:32 2010
@@ -7,8 +7,8 @@
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
-Source0:	http://ftp.icm.edu.pl/pub/Linux/fedora/linux/development/source/SRPMS/libaio-0.3.109-1.fc13.src.rpm
-# Source0-md5:	55536f014c6af3d1a2f9f249f3130241
+Source0:	ftp://ftp.kernel.org/pub/linux/libs/aio/%{name}-%{version}.tar.gz
+# Source0-md5:	435a5b16ca6198eaf01155263d855756
 Patch0:		%{name}-DESTDIR.patch
 BuildRequires:	rpm-utils
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -59,10 +59,7 @@
 Statyczna biblioteka libaio.
 
 %prep
-%setup -q -T -c
-rpm2cpio %{SOURCE0} | cpio -i -d || exit 1
-tar xzf *.tar.gz || exit 1
-mv %{name}-%{version}/{.version,*} .
+%setup -q
 %patch0 -p1
 
 %build
@@ -119,6 +116,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2010/01/18 14:38:32  arekm
+- no need for src.rpm, use tarball
+
 Revision 1.13  2010/01/18 14:35:36  arekm
 - run test suite
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libaio/libaio.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list