[packages/php-markdown] up to 1.0.1o, php 5.3 compatible
glen
glen at pld-linux.org
Tue Oct 30 17:12:45 CET 2012
commit 22ae78f1d7164bf66d02bbe4d4902bf4765a11a0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Oct 30 18:12:36 2012 +0200
up to 1.0.1o, php 5.3 compatible
php-markdown.spec | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/php-markdown.spec b/php-markdown.spec
index 9c48ec1..07dfc0e 100644
--- a/php-markdown.spec
+++ b/php-markdown.spec
@@ -1,15 +1,16 @@
%define php_min_version 5.0.0
Summary: Markdown text-to-html converter
Name: php-markdown
-Version: 1.0.1n
+Version: 1.0.1o
Release: 1
License: BSD-Style License
Group: Development/Languages/PHP
-Source0: http://pear.michelf.com/get/%{name}-%{version}.tgz
-# Source0-md5: 371cc451cd8776758924309d9fbcad06
-URL: http://pear.michelf.com/package/Markdown/
+Source0: http://littoral.michelf.ca/code/php-markdown/%{name}-%{version}.zip
+# Source0-md5: fccaa1285c27a82bea15385591856250
+URL: http://michelf.ca/projects/php-markdown/
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.610
+BuildRequires: unzip
Requires: php-common >= 4:%{php_min_version}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,7 +29,8 @@ text. If you are using text-formatted email, you already know some
part of the syntax.
%prep
-%setup -qn Markdown-%{version}
+%setup -qc
+mv "PHP Markdown %{version}"/* .
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-markdown.git/commitdiff/22ae78f1d7164bf66d02bbe4d4902bf4765a11a0
More information about the pld-cvs-commit
mailing list