From: Marcin Krol Date: Thu, 6 Aug 2020 14:23:56 +0000 (+0200) Subject: - fix packaging, phar is now versioned and doesn't need mv X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=ab7494fe6c60ed61c7f4798c99388426735dd1b0;p=packages%2Fphp.git - fix packaging, phar is now versioned and doesn't need mv --- diff --git a/php.spec b/php.spec index 77d6b7c..3b89ff3 100644 --- a/php.spec +++ b/php.spec @@ -2337,11 +2337,7 @@ cp -pf Makefile.cli Makefile phpbuilddir=%{_libdir}/%{name}/build \ INSTALL_ROOT=$RPM_BUILD_ROOT -# version the .phar files -%{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar -%{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1 # touch for ghost -%{__rm} $RPM_BUILD_ROOT%{_bindir}/phar touch $RPM_BUILD_ROOT%{_bindir}/phar touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1 @@ -3084,7 +3080,6 @@ fi %attr(755,root,root) %{php_extensiondir}/phar.so %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar %{_mandir}/man1/phar%{php_suffix}.1* -%{_mandir}/man1/phar.phar.1* %ghost %{_bindir}/phar %ghost %{_mandir}/man1/phar.1* %endif