| |
@@ -11,13 +11,13 @@
|
| |
%global gh_project php-markdown
|
| |
|
| |
Name: php-markdown
|
| |
- Version: 1.9.1
|
| |
- Release: 6%{?dist}
|
| |
+ Version: 2.0.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Markdown implementation in PHP
|
| |
|
| |
License: BSD-3-Clause
|
| |
URL: https://michelf.ca/projects/php-markdown/
|
| |
- Source0: %{name}-%{version}-%{gh_short}.tgz
|
| |
+ Source0: https://github.com/michelf/php-markdown/archive/%{version}/%{name}-%{version}.tar.gz
|
| |
Source1: makesrc.sh
|
| |
|
| |
BuildArch: noarch
|
| |
@@ -25,9 +25,9 @@
|
| |
# For tests
|
| |
# "require-dev": {
|
| |
# "phpunit/phpunit": ">=4.3 <5.8"
|
| |
- BuildRequires: phpunit
|
| |
+ BuildRequires: phpunit10
|
| |
|
| |
- Requires: php(language) >= 5.3
|
| |
+ Requires: php(language) >= 7.4
|
| |
Requires: php-pcre
|
| |
Requires: php-composer(fedora/autoloader)
|
| |
|
| |
@@ -45,7 +45,7 @@
|
| |
|
| |
|
| |
%prep
|
| |
- %setup -q -n %{gh_project}-%{gh_commit}
|
| |
+ %setup -q
|
| |
mv License.md LICENSE
|
| |
|
| |
|
| |
@@ -79,11 +79,11 @@
|
| |
EOF
|
| |
|
| |
ret=0
|
| |
- for php in php php74 php80 php81
|
| |
+ for php in php php74 php81 php82 php83
|
| |
do
|
| |
if which $php
|
| |
then
|
| |
- $php %{_bindir}/phpunit --bootstrap bs.php || ret=1
|
| |
+ $php %{_bindir}/phpunit10 --bootstrap bs.php || ret=1
|
| |
fi
|
| |
done
|
| |
exit $ret
|
| |
@@ -99,6 +99,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Wed Oct 04 2023 Sérgio Basto <sergio@serjux.com> - 2.0.0-1
|
| |
+ - Update php-markdown to 2.0.0
|
| |
+
|
| |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-6
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
| |
|
| |