[packages/php-pear-PEAR_Command_Packaging] - rebuild template without changelog section

glen glen at pld-linux.org
Wed Oct 17 21:18:21 CEST 2012


commit 4e9fb6b3fa3b905e41a581d66e50c168c87d7c38
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 17 22:17:53 2012 +0300

    - rebuild template without changelog section

 php-pear-PEAR_Command_Packaging.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/php-pear-PEAR_Command_Packaging.spec b/php-pear-PEAR_Command_Packaging.spec
index 05ccfe5..025fa57 100644
--- a/php-pear-PEAR_Command_Packaging.spec
+++ b/php-pear-PEAR_Command_Packaging.spec
@@ -16,7 +16,7 @@ Summary:	%{pearname} - make-rpm-spec command for managing RPM .spec files for PE
 Summary(pl.UTF-8):	%{pearname} - polecenie make-rpm-spec do zarządzania plikami .spec pakietów PEAR-a
 Name:		php-pear-%{pearname}
 Version:	0.2.0
-Release:	7
+Release:	8
 License:	PHP 3.01
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
@@ -80,8 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
-sed -e '/^\$''Log: /,$d' %{SOURCE1} > $RPM_BUILD_ROOT%{php_pear_dir}/data/%{pearname}/template.spec
-echo '$''Log: $' >> $RPM_BUILD_ROOT%{php_pear_dir}/data/%{pearname}/template.spec
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{php_pear_dir}/data/%{pearname}/template.spec
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PEAR_Command_Packaging.git/commitdiff/4e9fb6b3fa3b905e41a581d66e50c168c87d7c38



More information about the pld-cvs-commit mailing list