From 069a3e8a59fe6ea61774c6ed56daa6a7582ee423 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 12 Jun 2018 11:07:12 +0200 Subject: update to 4.0.0 rename to php-solarium4 move to /usr/share/php/Solarium5 raise dependency on PHP 7.0 raise dependency on symfony 2.7 and allow symfony 4 --- php-solarium4.spec | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'php-solarium4.spec') diff --git a/php-solarium4.spec b/php-solarium4.spec index 1284211..3e526b7 100644 --- a/php-solarium4.spec +++ b/php-solarium4.spec @@ -1,4 +1,4 @@ -# remirepo/fedora spec file for php-solarium +# remirepo/fedora spec file for php-solarium4 # # Copyright (c) 2013-2017 Remi Collet # License: CC-BY-SA @@ -10,20 +10,19 @@ %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner solariumphp %global gh_project solarium +%global major 4 %global with_tests 0%{!?_without_tests:1} -Name: php-%{gh_project} +Name: php-%{gh_project}%{major} Summary: Solarium PHP Solr client library Version: 4.0.0 Release: 1%{?dist} URL: http://www.solarium-project.org/ License: BSD -Group: Development/Libraries Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %if %{with_tests} # For tests @@ -115,7 +114,7 @@ EOF %install mkdir -p %{buildroot}%{_datadir}/php -cp -pr src %{buildroot}%{_datadir}/php/Solarium +cp -pr src %{buildroot}%{_datadir}/php/Solarium%{major} %check @@ -124,7 +123,7 @@ cp -pr src %{buildroot}%{_datadir}/php/Solarium mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 4.0.0-1 - update to 4.0.0 +- rename to php-solarium4 +- move to /usr/share/php/Solarium5 - raise dependency on PHP 7.0 - raise dependency on symfony 2.7 and allow symfony 4 + * Thu Oct 5 2017 Remi Collet - 3.8.1-4 - fix autoloader for Symfony 3, FTBFS from Koschei -- cgit