[php-markdown] - Updated to 1.0.1p - don't requires php
Remi Collet
remi at fedoraproject.org
Tue Jan 29 13:53:24 UTC 2013
commit 19b2be8c075c9acba3bc8e32a3f00b3a583b8c77
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Jan 29 14:53:16 2013 +0100
- Updated to 1.0.1p
- don't requires php
.gitignore | 3 +++
php-markdown.spec | 43 ++++++++++++++++++++++++++-----------------
sources | 2 +-
3 files changed, 30 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a93ed9f..90f9074 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
+clog
+*spec
php-markdown-1.0.1n.zip
+/php-markdown-1.0.1p.zip
diff --git a/php-markdown.spec b/php-markdown.spec
index 6332b04..3dcbcd8 100644
--- a/php-markdown.spec
+++ b/php-markdown.spec
@@ -1,35 +1,40 @@
-Name: php-markdown
-Version: 1.0.1n
-Release: 4%{?dist}
-Summary: Markdown implementation in PHP
-
-Group: Development/Languages
-License: BSD
-URL: http://michelf.com/projects/php-markdown/
-Source0: http://michelf.com/docs/projets/%{name}-%{version}.zip
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-Requires: php
+Name: php-markdown
+Version: 1.0.1p
+Release: 1%{?dist}
+Summary: Markdown implementation in PHP
+
+Group: Development/Languages
+License: BSD
+URL: http://michelf.com/projects/php-markdown/
+Source0: http://michelf.com/docs/projets/%{name}-%{version}.zip
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Requires: php-pcre
+
%description
This is a PHP implementation of John Gruber's Markdown. This is a
Python implementation of John Gruber's Markdown. It is almost
completely compliant with the reference implementation.
+
%prep
-%setup -q -n 'PHP Markdown 1.0.1n'
+%setup -q -n 'PHP Markdown %{version}'
%build
# Empty build
+
%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/php/
-install -p -m 644 markdown.php $RPM_BUILD_ROOT%{_datadir}/php/
+rm -rf %{buildroot}
+install -d %{buildroot}%{_datadir}/php/
+install -p -m 644 markdown.php %{buildroot}%{_datadir}/php/
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
@@ -39,6 +44,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Jan 29 2013 Remi Collet <remi at fedoraproject.org> - 1.0.1p-1
+- Updated to 1.0.1p
+- don't requires php
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1n-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index fdf03ed..a8961b2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3459ccae486e02e1614ae70e0fbe5064 php-markdown-1.0.1n.zip
+9d92064351f505bee1d8b3d80c79061c php-markdown-1.0.1p.zip
More information about the scm-commits
mailing list