summaryrefslogtreecommitdiffstats
path: root/php-pecl-interbase.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-interbase.spec')
-rw-r--r--php-pecl-interbase.spec44
1 files changed, 18 insertions, 26 deletions
diff --git a/php-pecl-interbase.spec b/php-pecl-interbase.spec
index 4a55045..e80fdf2 100644
--- a/php-pecl-interbase.spec
+++ b/php-pecl-interbase.spec
@@ -1,7 +1,7 @@
# remirepo spec file for php-pecl-interbase
#
-# Copyright (c) 2019 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2019-2023 Remi Collet
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@@ -28,20 +28,21 @@
%global pecl_name interbase
%global with_tests 0%{?_with_tests:1}
%global upver 1.0.0
-%global lower DEV
+%global uplower DEV
%global ini_name 20-%{pecl_name}.ini
Summary: InterBase/FireBird extension
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: %{upver}%{?lower:~%{lower}}%{?gh_date:.%{gh_date}}
-Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: %{upver}%{?uplower:~%{uplower}}%{?gh_date:.%{gh_date}}
+Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-License: PHP
-URL: http://pecl.php.net/package/%{pecl_name}
+License: PHP-3.01
+URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{upver}-%{gh_short}.tar.gz
+BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel > 7.4
+BuildRequires: %{?scl_prefix}php-devel >= 7.4
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: firebird-devel
@@ -49,7 +50,6 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
# ensure php-interbase pull both extensions as in previous version
Requires: %{?scl_prefix}php-pdo-firebird%{?_isa}
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
# Set epoch so provides is > 0:7.3
Obsoletes: %{?scl_prefix}php-%{pecl_name} < 7.4.0
@@ -62,20 +62,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-# Other third party repo stuff
-%if "%{php_version}" > "7.4"
-Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
-%endif
-%endif
-
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter private shared object
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
-
%description
The php-interbase package contains a dynamic shared object that will add
@@ -135,13 +121,13 @@ extension=%{pecl_name}
;ibase.default_charset =
; Default timestamp format.
-;ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
+;ibase.timestampformat = "%%Y-%%m-%%d %%H:%%M:%%S"
; Default date format.
-;ibase.dateformat = "%Y-%m-%d"
+;ibase.dateformat = "%%Y-%%m-%%d"
; Default time format.
-;ibase.timeformat = "%H:%M:%S"
+;ibase.timeformat = "%%H:%%M:%%S"
EOF
@@ -233,6 +219,12 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Aug 24 2023 Remi Collet <remi@remirepo.net> - 1.0.0~DEV.20190523-6
+- F39 build
+
+* Wed Aug 19 2020 Remi Collet <remi@remirepo.net> - 1.0.0~DEV.20190523-5
+- F33 build
+
* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 1.0.0~DEV.20190523-4
- rebuild for 7.4.0RC1