[php-markdown/f19] - Mardown PSR-0 library version 1.4.0 (sources 1.2.8) - Mardown classic library version 1.0.2

Remi Collet remi at fedoraproject.org
Mon Dec 2 09:30:19 UTC 2013


commit 3ea1f0548d1e966c3c7967b82f842f827d5ad7bc
Author: Remi Collet <remi at fedoraproject.org>
Date:   Mon Dec 2 10:30:08 2013 +0100

    - Mardown PSR-0 library version 1.4.0 (sources 1.2.8)
    - Mardown classic library version 1.0.2

 .gitignore        |    4 +++-
 php-markdown.spec |   22 ++++++++++++++--------
 sources           |    4 ++--
 3 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0fab192..d423ac1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
 clog
-*spec~
+php-markdown.spec~
 php-markdown-1.0.1n.zip
 /php-markdown-1.0.1p.zip
 /php-markdown-1.0.1q.zip
 /php-markdown-lib-1.3.zip
+/php-markdown-1.0.2.zip
+/php-markdown-lib-1.4.0.zip
diff --git a/php-markdown.spec b/php-markdown.spec
index 3f36261..cf6392b 100644
--- a/php-markdown.spec
+++ b/php-markdown.spec
@@ -1,17 +1,18 @@
-# Yes ugly: tarball version is not library version
-%global tarball_version   1.3
+# Yes ugly: library version is not sources version
+# https://github.com/michelf/php-markdown/issues/137
+%global source_version    1.2.8
 # We still provide the classic library, for now
-%global classic_version   1.0.1q
+%global classic_version   1.0.2
 
 Name:        php-markdown
-Version:     1.2.7
+Version:     1.4.0
 Release:     1%{?dist}
 Summary:     Markdown implementation in PHP
 
 Group:       Development/Languages
 License:     BSD
 URL:         http://michelf.com/projects/php-markdown/
-Source0:     http://littoral.michelf.ca/code/php-markdown/%{name}-lib-%{tarball_version}.zip
+Source0:     http://littoral.michelf.ca/code/php-markdown/%{name}-lib-%{version}.zip
 Source1:     http://littoral.michelf.ca/code/php-markdown/%{name}-%{classic_version}.zip
 
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -26,15 +27,16 @@ This is a PHP implementation of John Gruber's Markdown.
 It is almost completely compliant with the reference implementation.
 
 This packages provides the classic version %{classic_version} and the new
-library version %{version} (distributed in the %{tarball_version} archive).
+library version %{version}.
 
 
 %prep
-%setup -q -n 'PHP Markdown Lib %{version}' -a 1
+%setup -q -n 'PHP Markdown Lib %{source_version}' -a 1
 
 # documentation
 mkdir library
-mv License.* Readme.* library
+mv License.* Readme.* composer.json library
+
 mkdir classic
 cd "PHP Markdown %{classic_version}"
 mv License.text ../classic
@@ -67,6 +69,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Dec 02 2013 Remi Collet <remi at fedoraproject.org> - 1.4.0
+- Mardown PSR-0 library version 1.4.0 (sources 1.2.8)
+- Mardown classic library version 1.0.2
+
 * Sat Jun 15 2013 Remi Collet <remi at fedoraproject.org> - 1.2.7
 - Mardown PSR-0 library version 1.2.7 (added)
 - Mardown classic library version 1.0.1q (updated)
diff --git a/sources b/sources
index 9df7ada..f4169c7 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-4a74c6d7e8dbc1d3674a813439c088e6  php-markdown-1.0.1q.zip
-09d2c2ceabd39f40680dc134dbc7fd0a  php-markdown-lib-1.3.zip
+29b35c72e60d8ab92a5f7eedbe368cc3  php-markdown-1.0.2.zip
+1cd22aa1316f88dec6265af9d57ea18f  php-markdown-lib-1.4.0.zip


More information about the scm-commits mailing list