]> TLD Linux GIT Repositories - packages/php.git/commitdiff
- fix packaging, phar is now versioned and doesn't need mv
authorMarcin Krol <hawk@tld-linux.org>
Thu, 6 Aug 2020 14:23:56 +0000 (16:23 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 6 Aug 2020 14:23:56 +0000 (16:23 +0200)
php.spec

index 77d6b7c6a9a18b3b1242c12085714967844afd02..3b89ff3b618eb54e867f29eb54d02b846a2f2da2 100644 (file)
--- 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