diff --git a/php7.spec b/php7.spec index 5896cbc..2a0c3e0 100644 --- a/php7.spec +++ b/php7.spec @@ -20,7 +20,7 @@ %define __noautoreq '.*/bin/awk|.*/bin/gawk' Summary: The PHP7 scripting language -Name: php7 +Name: php Version: 7.4.9 Release: 1 Source0: http://ch1.php.net/distributions/php-%{version}.tar.xz @@ -1189,7 +1189,7 @@ export LC_ALL=en_US.utf-8 export LANG=en_US.utf-8 export LANGUAGE=en_US.utf-8 export LANGUAGES=en_US.utf-8 -%setup -qn php-%{version} +%setup -qn %{name}-%{version} %if %{build_libmagic} if ! [ -f %{_datadir}/misc/magic.mgc ]; then