From 9a760a96f97292e8b12e70c07edf5636fdc95d1e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Sep 2017 07:17:52 +0200 Subject: sync with Fedora --- php-simplesamlphp-saml2.spec | 53 ++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/php-simplesamlphp-saml2.spec b/php-simplesamlphp-saml2.spec index 9aee4f2..cee1b8f 100644 --- a/php-simplesamlphp-saml2.spec +++ b/php-simplesamlphp-saml2.spec @@ -38,7 +38,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 4%{?github_release}%{?dist} +Release: 5%{?github_release}%{?dist} Summary: SAML2 PHP library from SimpleSAMLphp Group: Development/Libraries @@ -46,7 +46,6 @@ License: LGPLv2 URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests %if %{with_tests} @@ -55,11 +54,14 @@ BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-composer(phpunit/phpunit) BuildRequires: php-composer(psr/log) < %{psr_log_max_ver} BuildRequires: php-composer(psr/log) >= %{psr_log_min_ver} -BuildRequires: php-composer(robrichards/xmlseclibs) < %{robrichards_xmlseclibs_max_ver} +BuildRequires: php-composer(robrichards/xmlseclibs) < %{robrichards_xmlseclibs_max_ver} BuildRequires: php-composer(robrichards/xmlseclibs) >= %{robrichards_xmlseclibs_min_ver} BuildRequires: php-dom BuildRequires: php-openssl +%if 0 BuildRequires: php-composer(mockery/mockery) >= %{mockery_min_ver} +BuildRequires: php-composer(mockery/mockery) < %{mockery_max_ver} +%endif ## phpcompatinfo (computed from version 2.3.4) BuildRequires: php-date BuildRequires: php-libxml @@ -132,8 +134,6 @@ AUTOLOAD %install -rm -rf %{buildroot} - mkdir -p %{buildroot}%{phpdir} cp -rp src/* %{buildroot}%{phpdir}/ @@ -146,35 +146,32 @@ cat <<'AUTOLOAD' | tee vendor/autoload.php - 2.3.4-3 +* Sat Sep 23 2017 Shawn Iwinski - 2.3.4-5 +- Test with SCLs if available +- Add max version constraint to mockery/mockery BuildRequires + +* Fri Sep 8 2017 Remi Collet - 2.3.4-4 - add maximal version to build dependency, Fix FTBFS from Koshei * Thu Dec 15 2016 Shawn Iwinski - 2.3.4-1 -- cgit