Mardown PSR-0/PSR-4 library version 1.8.0

This commit is contained in:
Remi Collet 2018-01-15 15:08:52 +01:00
commit 6dab9dbeb5
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.6.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
%global classic_version 1.0.2
Name: php-markdown
Version: 1.7.0
Release: 3%{?dist}
Version: 1.8.0
Release: 1%{?dist}
Summary: Markdown implementation in PHP
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
Source1: http://littoral.michelf.ca/code/php-markdown/%{name}-%{classic_version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
# For tests
@ -59,7 +66,6 @@ cat Michelf/markdown-autoload.php
%install
rm -rf %{buildroot}
install -d %{buildroot}%{_datadir}/php/
# PSR-0 library
@ -78,12 +84,7 @@ require_once "%{buildroot}%{_datadir}/php/Michelf/markdown-autoload.php";
'
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license lic/*
%doc library classic
@ -94,6 +95,9 @@ rm -rf %{buildroot}
%changelog
* Mon Jan 15 2018 Remi Collet <remi@remirepo.net> - 1.8.0-1
- Mardown PSR-0/PSR-4 library version 1.8.0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View file

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