Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Remi Collet
00af686938 Mardown PSR-0/PSR-4 library version 1.8.0
(cherry picked from commit 6dab9dbeb5)
2018-01-15 15:16:17 +01:00
3 changed files with 16 additions and 11 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ php-markdown-1.0.1n.zip
/php-markdown-lib-1.5.0.zip /php-markdown-lib-1.5.0.zip
/php-markdown-lib-1.6.0.zip /php-markdown-lib-1.6.0.zip
/php-markdown-lib-1.7.0.zip /php-markdown-lib-1.7.0.zip
/php-markdown-lib-1.8.0.zip

View file

@ -1,9 +1,17 @@
# Fedora spec file for php-markdown
#
# License: MIT
# http://opensource.org/licenses/MIT
#
# Please preserve changelog entries
#
# We still provide the classic library, for now # We still provide the classic library, for now
%global classic_version 1.0.2 %global classic_version 1.0.2
Name: php-markdown Name: php-markdown
Version: 1.7.0 Version: 1.8.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: Markdown implementation in PHP Summary: Markdown implementation in PHP
Group: Development/Languages Group: Development/Languages
@ -12,7 +20,6 @@ URL: https://michelf.ca/projects/php-markdown/
Source0: http://littoral.michelf.ca/code/php-markdown/%{name}-lib-%{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 Source1: http://littoral.michelf.ca/code/php-markdown/%{name}-%{classic_version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel BuildRequires: php-fedora-autoloader-devel
# For tests # For tests
@ -59,7 +66,6 @@ cat Michelf/markdown-autoload.php
%install %install
rm -rf %{buildroot}
install -d %{buildroot}%{_datadir}/php/ install -d %{buildroot}%{_datadir}/php/
# PSR-0 library # PSR-0 library
@ -78,12 +84,7 @@ require_once "%{buildroot}%{_datadir}/php/Michelf/markdown-autoload.php";
' '
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license lic/* %license lic/*
%doc library classic %doc library classic
@ -94,6 +95,9 @@ rm -rf %{buildroot}
%changelog %changelog
* Mon Jan 15 2018 Remi Collet <remi@remirepo.net> - 1.8.0-1
- Mardown PSR-0/PSR-4 library version 1.8.0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View file

@ -1,2 +1,2 @@
29b35c72e60d8ab92a5f7eedbe368cc3 php-markdown-1.0.2.zip SHA512 (php-markdown-1.0.2.zip) = b876cd3196a532f28f9a942ec04bcc0766bc804f9f2918291109943847117c5532dce0f06ad9ae535efa55de57d88a8a4a9537c3bb47ef104c3901c014604dfa
157820b2be3a023370a0958cc7ccbcff php-markdown-lib-1.7.0.zip SHA512 (php-markdown-lib-1.8.0.zip) = 2b38d52f10cc74abfb787c1d01237fca6c4da9e4681e9c2999d70af7100a4759d45c73a5dff4b48f5d237d3e0c9aec4f918593e7dfb4517ca73c7ec12429b523