[packages/php-pecl-flvinfo] put source to dropin

glen glen at pld-linux.org
Mon Jun 3 10:36:12 CEST 2013


commit 68bbd31dbdd555ca708a7b14775ee64e8df5f5ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jun 3 11:35:57 2013 +0300

    put source to dropin

 php-pecl-flvinfo.spec | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/php-pecl-flvinfo.spec b/php-pecl-flvinfo.spec
index 787cc7b..47dfcbc 100644
--- a/php-pecl-flvinfo.spec
+++ b/php-pecl-flvinfo.spec
@@ -6,17 +6,16 @@ Version:	0.5
 Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
+Source0:	flvinfo-%{version}.tar.bz2
+# Source0-md5:	5fb71336eac15cf31f840d12d289f6f9
 BuildRequires:	ffmpeg-devel >= 0.4.9-3.20061204.1.3
 BuildRequires:	php-devel >= 4:5.0
 BuildRequires:	rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
-Requires:	php-common >= 4:5.0.4
+Requires:	php(core) >= 5.0.4
 Provides:	php(%{modname})
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_cvsroot	:ext:cvs.delfi.ee:/usr/local/cvs
-%define		_cvsmodule	php/ext/flvinfo
-
 %description
 This extension provides information about FLV video dimensions. It
 uses libavformat from ffmpeg to do so.
@@ -31,10 +30,7 @@ Group:		Applications
 flvinfo program.
 
 %prep
-%setup -qcT
-cd ..
-cvs -d %{_cvsroot} co %{?_cvstag:-r %{_cvstag}} -d %{name}-%{version} -P %{_cvsmodule}
-cd -
+%setup -qn flvinfo-%{version}
 
 %build
 phpize
@@ -45,7 +41,6 @@ phpize
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_sysconfdir}/conf.d}
-
 %{__make} install \
 	EXTENSION_DIR=%{php_extensiondir} \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-flvinfo.git/commitdiff/68bbd31dbdd555ca708a7b14775ee64e8df5f5ed



More information about the pld-cvs-commit mailing list