|
|
@ -1,6 +1,8 @@
|
|
|
|
|
|
|
|
# RHEL spec file for php-pecl-rrd, from
|
|
|
|
|
|
|
|
#
|
|
|
|
# remirepo/fedora spec file for php-pecl-rrd
|
|
|
|
# remirepo/fedora spec file for php-pecl-rrd
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011-2021 Remi Collet
|
|
|
|
# Copyright (c) 2011-2019 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/
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -16,16 +18,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: PHP Bindings for rrdtool
|
|
|
|
Summary: PHP Bindings for rrdtool
|
|
|
|
Name: php-pecl-rrd
|
|
|
|
Name: php-pecl-rrd
|
|
|
|
Version: 2.0.3
|
|
|
|
Version: 2.0.1
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: https://pecl.php.net/package/rrd
|
|
|
|
URL: http://pecl.php.net/package/rrd
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
|
|
|
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: php-devel > 7
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
BuildRequires: php-devel >= 7.0
|
|
|
|
|
|
|
|
BuildRequires: rrdtool
|
|
|
|
BuildRequires: rrdtool
|
|
|
|
BuildRequires: pkgconfig(librrd) >= 1.3.0
|
|
|
|
BuildRequires: pkgconfig(librrd) >= 1.3.0
|
|
|
|
BuildRequires: php-pear
|
|
|
|
BuildRequires: php-pear
|
|
|
@ -55,15 +55,6 @@ sed -e 's/role="test"/role="src"/' \
|
|
|
|
-e '/LICENSE/s/role="doc"/role="src"/' \
|
|
|
|
-e '/LICENSE/s/role="doc"/role="src"/' \
|
|
|
|
-i package.xml
|
|
|
|
-i package.xml
|
|
|
|
|
|
|
|
|
|
|
|
cd NTS
|
|
|
|
|
|
|
|
# Sanity check, really often broken
|
|
|
|
|
|
|
|
extver=$(sed -n '/#define PHP_RRD_VERSION/{s/.* "//;s/".*$//;p}' php_rrd.h)
|
|
|
|
|
|
|
|
if test "x${extver}" != "x%{version}%{?prever}"; then
|
|
|
|
|
|
|
|
: Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}.
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat > %{ini_name} << 'EOF'
|
|
|
|
cat > %{ini_name} << 'EOF'
|
|
|
|
; Enable %{pecl_name} extension module
|
|
|
|
; Enable %{pecl_name} extension module
|
|
|
|
extension=%{pecl_name}.so
|
|
|
|
extension=%{pecl_name}.so
|
|
|
@ -159,31 +150,8 @@ REPORT_EXIT_STATUS=1 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.3-3
|
|
|
|
* Mon Nov 25 2019 Remi Collet <rcollet@redhat.com> - 2.0.1-1
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- build for RHEL 8
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.3-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 28 2021 Remi Collet <remi@remirepo.net> - 2.0.3-1
|
|
|
|
|
|
|
|
- update to 2.0.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 19 2021 Remi Collet <remi@remirepo.net> - 2.0.2-1
|
|
|
|
|
|
|
|
- update to 2.0.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.1-17
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-16
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-15
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Remi Collet <remi@remirepo.net> - 2.0.1-13
|
|
|
|
* Thu Oct 03 2019 Remi Collet <remi@remirepo.net> - 2.0.1-13
|
|
|
|
- rebuild for https://fedoraproject.org/wiki/Changes/php74
|
|
|
|
- rebuild for https://fedoraproject.org/wiki/Changes/php74
|
|
|
|