Hello community,

here is the log from the commit of package php7-lzf for openSUSE:Leap:15.2 
checked in at 2020-02-09 11:27:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/php7-lzf (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.php7-lzf.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php7-lzf"

Sun Feb  9 11:27:01 2020 rev:1 rq:770990 version:1.6.7

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.php7-lzf.new.26092/php7-lzf.changes   
2020-02-09 11:27:01.959354064 +0100
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Sun Feb 10 22:08:41 UTC 2019 - Arjen de Korte <suse+bu...@de-korte.org>
+
+- Initial release 1.6.7

New:
----
  LZF-1.6.7.tgz
  php7-lzf.changes
  php7-lzf.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php7-lzf.spec ++++++
#
# spec file for package php7-lzf
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define pkg_name    LZF
%define pkg_sname   lzf

Name:           php7-lzf
Version:        1.6.7
Release:        0
Summary:        LZF compression
License:        PHP-3.01
Group:          Productivity/Networking/Web/Servers
Url:            https://pecl.php.net/package/%{pkg_name}
Source:         https://pecl.php.net/get/%{pkg_name}-%{version}.tgz
BuildRequires:  php7-devel
Provides:       php-%{pkg_sname} = %{version}
Requires:       php(api) = %{php_core_api}
Requires:       php(zend-abi) = %{php_zend_api}

%description
This package handles LZF de/compression.

%prep
%setup -q -n %{pkg_name}-%{version}

%build
export CFLAGS="%{optflags} -fvisibility=hidden"
%{__phpize}
%configure
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} INSTALL_ROOT=%{buildroot}
mkdir -p %{buildroot}%{_sysconfdir}/php7/conf.d

cat > %{buildroot}%{_sysconfdir}/php7/conf.d/%{pkg_sname}.ini << EOF
; comment out next line to disable %{pkg_sname} extension in php
extension = %{pkg_sname}.so
EOF

%check
make %{?_smp_mflags} test PHP_EXECUTABLE=%{__php} NO_INTERACTION=1

%files
%doc lib/README
%license LICENSE
%{_libdir}/php7/extensions/%{pkg_sname}.so
%config(noreplace) %{_sysconfdir}/php7/conf.d/%{pkg_sname}.ini

%changelog

Reply via email to