Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0255938c46 |
3 changed files with 11 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,3 +7,4 @@ package-*.xml
|
||||||
/Cache_Lite-1.7.15.tgz
|
/Cache_Lite-1.7.15.tgz
|
||||||
/Cache_Lite-1.7.16.tgz
|
/Cache_Lite-1.7.16.tgz
|
||||||
/Cache_Lite-1.8.0.tgz
|
/Cache_Lite-1.8.0.tgz
|
||||||
|
/Cache_Lite-1.8.2.tgz
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Spec file for php-pear-Cache-Lite
|
# Spec file for php-pear-Cache-Lite
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008-2016 Remi Collet
|
# Copyright (c) 2008-2018 Remi Collet
|
||||||
# License: CC-BY-SA
|
# License: CC-BY-SA
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||||
#
|
#
|
||||||
|
|
@ -12,15 +12,12 @@
|
||||||
Summary: Fast and Safe little cache system for PHP
|
Summary: Fast and Safe little cache system for PHP
|
||||||
Summary(fr): Méthode de cache rapide et sécurisée pour PHP
|
Summary(fr): Méthode de cache rapide et sécurisée pour PHP
|
||||||
Name: php-pear-Cache-Lite
|
Name: php-pear-Cache-Lite
|
||||||
Version: 1.8.0
|
Version: 1.8.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: PHP
|
License: PHP
|
||||||
Group: Development/Libraries
|
URL: http://pear.php.net/package/Cache_Lite
|
||||||
Source: http://pear.php.net/get/%{pear_name}-%{version}.tgz
|
Source: http://pear.php.net/get/%{pear_name}-%{version}.tgz
|
||||||
|
|
||||||
URL: http://pear.php.net/package/Cache_Lite
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: php-pear(PEAR) >= 1.10.1
|
BuildRequires: php-pear(PEAR) >= 1.10.1
|
||||||
|
|
||||||
|
|
@ -56,8 +53,6 @@ mv ../package.xml %{name}.xml
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
cd %{pear_name}-%{version}
|
cd %{pear_name}-%{version}
|
||||||
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
|
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
|
||||||
|
|
||||||
|
|
@ -68,17 +63,13 @@ rm -rf %{buildroot}%{pear_metadir}/.??*
|
||||||
install -Dpm 644 %{name}.xml %{buildroot}%{pear_xmldir}/%{name}.xml
|
install -Dpm 644 %{name}.xml %{buildroot}%{pear_xmldir}/%{name}.xml
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd %{pear_name}-%{version}
|
cd %{pear_name}-%{version}
|
||||||
%{__pear} \
|
%{__pear} \
|
||||||
run-tests \
|
run-tests \
|
||||||
-i "-d include_path=%{buildroot}%{pear_phpdir}:%{pear_phpdir}" \
|
-i "-d include_path=%{buildroot}%{pear_phpdir}:%{pear_phpdir}" \
|
||||||
tests | tee ../tests.log
|
tests | tee ../tests.log
|
||||||
grep "FAILED TESTS" ../tests.log && exit 1
|
grep "FAILED TESTS" ../tests.log && exit 1 || exit 0
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
@ -92,14 +83,16 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc %{pear_docdir}/%{pear_name}
|
%doc %{pear_docdir}/%{pear_name}
|
||||||
|
%doc %{pear_testdir}/%{pear_name}
|
||||||
%{pear_phpdir}/Cache
|
%{pear_phpdir}/Cache
|
||||||
%{pear_testdir}/%{pear_name}
|
|
||||||
%{pear_xmldir}/%{name}.xml
|
%{pear_xmldir}/%{name}.xml
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 13 2018 Remi Collet <remi@remirepo.net> - 1.8.2-1
|
||||||
|
- update to 1.8.2
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
d63d997a5dfcea8b532591e71f2bca73 Cache_Lite-1.8.0.tgz
|
SHA512 (Cache_Lite-1.8.2.tgz) = dfb3c2dadd0ca60cc62ad71fd6fc51c0665901b4370207dfeb1f0f56e9db4fb24724d22f2939f67d8aa044e1b465483c40ec34fb3bcc5e12031d4dd1e05953b4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue