summaryrefslogtreecommitdiffstats
path: root/php-smbclient.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-02 07:52:55 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-02 07:52:55 +0100
commit50ba98ccc4f096c8a9ba1b064d835488f99d09bb (patch)
tree3077ffc8f2686c6d8cadf435f899c9233aa0658d /php-smbclient.spec
parent6859847934853b7b7499dafe3d2e4d6266203a8c (diff)
php-smbclient: 0.8.0 (stable)
Diffstat (limited to 'php-smbclient.spec')
-rw-r--r--php-smbclient.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/php-smbclient.spec b/php-smbclient.spec
index 91ce80a..d895b01 100644
--- a/php-smbclient.spec
+++ b/php-smbclient.spec
@@ -19,13 +19,10 @@
%global gh_owner eduardok
%global gh_project libsmbclient-php
#global gh_date 20150909
-%global prever RC1
+#global prever RC1
%{?scl: %scl_package php-smbclient}
%{!?scl: %global pkg_name %{name}}
-%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
-%{!?__pecl: %global __pecl %{_bindir}/pecl}
-%{!?__php: %global __php %{_bindir}/php}
%global pecl_name smbclient
%global with_zts 0%{?__ztsphp:1}
@@ -39,7 +36,7 @@
Name: %{?sub_prefix}php-smbclient
Version: 0.8.0
-Release: 0.5.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: PHP wrapper for libsmbclient
Group: Development/Languages
@@ -127,7 +124,9 @@ mv %{pecl_name}-%{version}%{?prever} NTS
%endif
# Don't install/register tests
-sed -e 's/role="test"/role="src"/' -i package.xml
+sed -e 's/role="test"/role="src"/' \
+ %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
+ -i package.xml
cd NTS
# Check extension version
@@ -208,6 +207,7 @@ cp %{SOURCE2} phpunit.xml
%endif
+%if 0%{?fedora} < 24
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -224,10 +224,10 @@ fi
if [ $1 -eq 0 -a -x %{__pecl} ] ; then
%{pecl_uninstall} %{pecl_name} >/dev/null || :
fi
+%endif
%files
-%{!?_licensedir:%global license %%doc}
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -242,6 +242,9 @@ fi
%changelog
+* Wed Mar 2 2016 Remi Collet <remi@fedoraproject.org> - 0.8.0-1
+- update to 0.8.0 (stable, no change)
+
* Tue Dec 8 2015 Remi Collet <remi@fedoraproject.org> - 0.8.0-0.5.RC1
- now available on PECL
@@ -273,4 +276,4 @@ fi
- open https://github.com/eduardok/libsmbclient-php/pull/18
add reflection and improve phpinfo
- open https://github.com/eduardok/libsmbclient-php/issues/19
- missing license file \ No newline at end of file
+ missing license file