update to 4.0.6
This commit is contained in:
parent
7e63ff42e1
commit
825517067e
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ clog
|
|||||||
/apcu-4.0.2.tgz
|
/apcu-4.0.2.tgz
|
||||||
/apcu-4.0.3.tgz
|
/apcu-4.0.3.tgz
|
||||||
/apcu-4.0.4.tgz
|
/apcu-4.0.4.tgz
|
||||||
|
/apcu-4.0.6.tgz
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
Name: php-pecl-apcu
|
Name: php-pecl-apcu
|
||||||
Summary: APC User Cache
|
Summary: APC User Cache
|
||||||
Version: 4.0.4
|
Version: 4.0.6
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
||||||
Source1: %{pecl_name}.ini
|
Source1: %{pecl_name}.ini
|
||||||
Source2: %{pecl_name}-panel.conf
|
Source2: %{pecl_name}-panel.conf
|
||||||
@ -59,7 +59,7 @@ Provides: php-pecl-apc%{?_isa} = %{version}
|
|||||||
Provides: php-pecl(APC) = %{version}
|
Provides: php-pecl(APC) = %{version}
|
||||||
Provides: php-pecl(APC)%{?_isa} = %{version}
|
Provides: php-pecl(APC)%{?_isa} = %{version}
|
||||||
|
|
||||||
%if 0%{?fedora} < 20
|
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
|
||||||
# Filter shared private
|
# Filter shared private
|
||||||
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
|
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
|
||||||
%{?filter_setup}
|
%{?filter_setup}
|
||||||
@ -128,13 +128,15 @@ configuration, available on http://localhost/apcu-panel/
|
|||||||
%setup -qc
|
%setup -qc
|
||||||
mv %{pecl_name}-%{version} NTS
|
mv %{pecl_name}-%{version} NTS
|
||||||
|
|
||||||
# Fix file roles https://github.com/krakjoe/apcu/pull/69
|
cd NTS
|
||||||
sed -e '/LICENSE/s/role="src"/role="doc"/' \
|
|
||||||
-e '/NOTICE/s/role="src"/role="doc"/' \
|
# Sanity check, really often broken
|
||||||
-e '/README.md/s/role="src"/role="doc"/' \
|
extver=$(sed -n '/#define PHP_APCU_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h)
|
||||||
-e '/TECHNOTES.txt/s/role="src"/role="doc"/' \
|
if test "x${extver}" != "x%{version}"; then
|
||||||
-e '/TODO/s/role="src"/role="doc"/' \
|
: Error: Upstream extension version is ${extver}, expecting %{version}.
|
||||||
-i package.xml
|
exit 1
|
||||||
|
fi
|
||||||
|
cd ..
|
||||||
|
|
||||||
%if %{with_zts}
|
%if %{with_zts}
|
||||||
# duplicate for ZTS build
|
# duplicate for ZTS build
|
||||||
@ -254,7 +256,6 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%files -n apcu-panel
|
%files -n apcu-panel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
# Need to restrict access, as it contains a clear password
|
# Need to restrict access, as it contains a clear password
|
||||||
%attr(550,apache,root) %dir %{_sysconfdir}/apcu-panel
|
%attr(550,apache,root) %dir %{_sysconfdir}/apcu-panel
|
||||||
%config(noreplace) %{_sysconfdir}/apcu-panel/conf.php
|
%config(noreplace) %{_sysconfdir}/apcu-panel/conf.php
|
||||||
@ -263,6 +264,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 12 2014 Remi Collet <remi@fedoraproject.org> - 4.0.6-1
|
||||||
|
- Update to 4.0.6 (beta)
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-3
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user