From ab7494fe6c60ed61c7f4798c99388426735dd1b0 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 6 Aug 2020 16:23:56 +0200 Subject: [PATCH] - fix packaging, phar is now versioned and doesn't need mv --- php.spec | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.44.0