From add7455ebe76b9d3ee2e7ed412ad87cd99d095be Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 28 Dec 2015 07:23:08 +0100 Subject: [PATCH] v1.6.0 --- .gitignore | 1 + php-markdown.spec | 13 +++++++++++-- sources | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ca86f47..f5cd3c4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ php-markdown-1.0.1n.zip /php-markdown-lib-1.4.0.zip /php-markdown-lib-1.4.1.zip /php-markdown-lib-1.5.0.zip +/php-markdown-lib-1.6.0.zip diff --git a/php-markdown.spec b/php-markdown.spec index a2bdaad..6d15e6e 100644 --- a/php-markdown.spec +++ b/php-markdown.spec @@ -2,7 +2,7 @@ %global classic_version 1.0.2 Name: php-markdown -Version: 1.5.0 +Version: 1.6.0 Release: 1%{?dist} Summary: Markdown implementation in PHP @@ -14,6 +14,7 @@ Source1: http://littoral.michelf.ca/code/php-markdown/%{name}-%{classic_vers BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: %{_bindir}/phpab Requires: php(language) >= 5.3 Requires: php-pcre @@ -28,6 +29,8 @@ It is almost completely compliant with the reference implementation. This packages provides the classic version %{classic_version} and the new library version %{version}. +Autoloader: %{_datadir}/php/Michelf/markdown-autoload.php + %prep %setup -q -n 'PHP Markdown Lib %{version}' -a 1 @@ -44,7 +47,9 @@ mv "PHP Markdown Readme.text" ../classic/Readme.text %build -# Empty build +# Generate simple autoloader +%{_bindir}/phpab -o Michelf/markdown-autoload.php Michelf +cat Michelf/markdown-autoload.php %install @@ -73,6 +78,10 @@ rm -rf %{buildroot} %changelog +* Sat Dec 26 2015 Remi Collet - 1.6.0-1 +- Mardown PSR-0 library version 1.6.0 +- add simple autoloader + * Mon Mar 2 2015 Remi Collet - 1.5.0-1 - Mardown PSR-0 library version 1.5.0 - fix license handling diff --git a/sources b/sources index fe85a85..3a31b7a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 29b35c72e60d8ab92a5f7eedbe368cc3 php-markdown-1.0.2.zip -9d64211a9af4cf3c20c3aad8fe54ddb9 php-markdown-lib-1.5.0.zip +267bbe00a5362efa7f7be925e341ad81 php-markdown-lib-1.6.0.zip