From 772efe1be91b4463cdef7415c9a85cc1ed1ae212 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Feb 2019 11:14:15 +0100 Subject: drop fake minifiers --- php-phalcon3.spec | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'php-phalcon3.spec') diff --git a/php-phalcon3.spec b/php-phalcon3.spec index f6ecd5d..75035dd 100644 --- a/php-phalcon3.spec +++ b/php-phalcon3.spec @@ -35,7 +35,7 @@ Name: %{?sub_prefix}php-phalcon3 Version: 3.4.3 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Phalcon Framework License: MIT @@ -43,11 +43,6 @@ URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{gh_project}-%{version}-strip.tar.xz # Script to generate the stripped archive from a git clone Source1: strip.sh -# Fake minifiers -Source2: cssminifier.c -Source3: cssminifier.h -Source4: jsminifier.c -Source5: jsminifier.h # Backported from 4.x Patch0: %{gh_project}-nominifier.patch @@ -111,10 +106,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -q -n %{gh_project}-%{gh_commit} - -cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \ - ext/phalcon/assets/filters/ -%patch0 -p0 -b .nominifier +%patch0 -p1 -b .nominifier # Sanity check, really often broken extver=$(sed -n '/#define PHP_PHALCON_VERSION/{s/.* "//;s/".*$//;p}' ext/php_phalcon.h) @@ -261,6 +253,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Feb 25 2019 Remi Collet - 3.4.3-2 +- drop fake minifiers + * Mon Feb 25 2019 Remi Collet - 3.4.3-1 - update to 3.4.3 using zephir 0.10.15 - make minifiers return unchanged input value -- cgit