summaryrefslogtreecommitdiffstats
path: root/php-onelogin-php-saml.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-onelogin-php-saml.spec')
-rw-r--r--php-onelogin-php-saml.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-onelogin-php-saml.spec b/php-onelogin-php-saml.spec
index ed908af..fd46b26 100644
--- a/php-onelogin-php-saml.spec
+++ b/php-onelogin-php-saml.spec
@@ -7,7 +7,7 @@
#
# Please preserve changelog entries
#
-%global gh_commit 3319d7707f342e38291eee6b01a4a5f8df1b333b
+%global gh_commit b41f731803f303879f50fa76276908088197731c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner onelogin
%global gh_project php-saml
@@ -17,7 +17,7 @@
Name: php-%{gh_owner}-%{gh_project}
Group: Development/Libraries
-Version: 2.10.5
+Version: 2.10.7
Release: 1%{?dist}
Summary: SAML support for PHP
@@ -28,7 +28,6 @@ Source0: %{url}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}
# Patch the test bootstrap for our autoload.php rather than adjust in %%check to simplify spec
Patch0: php-saml-bootstrap-autoloader.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: php(language) >= %{php_minver}
@@ -94,7 +93,6 @@ EOF
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/php/%{php_vendor}
cp -pr lib/* %{buildroot}%{_datadir}/php/%{php_vendor}/
@@ -105,8 +103,8 @@ if which php56; then
php56 %{_bindir}/phpunit --no-coverage --bootstrap tests/bootstrap.php --configuration tests/phpunit.xml || ret=1
run=1
fi
-if which php71; then
- php71 %{_bindir}/phpunit --no-coverage --bootstrap tests/bootstrap.php --configuration tests/phpunit.xml || ret=1
+if which php72; then
+ php72 %{_bindir}/phpunit --no-coverage --bootstrap tests/bootstrap.php --configuration tests/phpunit.xml || ret=1
run=1
fi
if [ $run -eq 0 ]; then
@@ -115,12 +113,7 @@ if [ $run -eq 0 ]; then
fi
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc advanced_settings_example.php settings_example.php README.md composer.json CHANGELOG
@@ -128,6 +121,9 @@ rm -rf %{buildroot}
%changelog
+* Mon May 22 2017 Remi Collet <remi@remirepo.net> - 2.10.7-1
+- Update to 2.10.7
+
* Mon Mar 13 2017 Remi Collet <remi@remirepo.net> - 2.10.5-1
- Update to 2.10.5