--- rpms/php-pear-Console-GetoptPlus/sme10/php-pear-Console_GetoptPlus.spec 2016/06/16 14:21:48 1.1 +++ rpms/php-pear-Console-GetoptPlus/sme10/php-pear-Console_GetoptPlus.spec 2016/06/16 14:34:08 1.2 @@ -1,11 +1,14 @@ %define peardir %(pear config-get php_dir 2> /dev/null || echo %{_datadir}/pear) %define xmldir /var/lib/pear %global pear_name Console_GetoptPlus - +%define name php-pear-Console-GetoptPlus +%define version 1.0.0RC1 +%define release 3 + +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} Summary: Command-line option parser - Console Getopt+ (Getopt Plus) -Name: php-pear-Console-GetoptPlus -Version: 1.0.0RC1 -Release: 2%{?dist} License: The BSD License Group: Development/Libraries Source0: http://pear.php.net/get/Console_GetoptPlus-%{version}.tgz @@ -61,9 +64,16 @@ rm %{buildroot}/%{peardir}/.filemap rm %{buildroot}/%{peardir}/.lock rm -rf %{buildroot}/%{peardir}/.registry rm -rf %{buildroot}%{peardir}/.channels -rm %{buildroot}%{peardir}/.depdb -rm %{buildroot}%{peardir}/.depdblock - +rm %{buildroot}/%{xmldir}/.filemap +rm %{buildroot}/%{xmldir}/.lock +rm -rf %{buildroot}/%{xmldir}/.registry +rm -rf %{buildroot}/%{xmldir}/.channels +if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then +rm %{buildroot}%{xmldir}/.depdb +fi +if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then +rm %{buildroot}%{xmldir}/.depdblock +fi mv %{buildroot}/docs . @@ -90,6 +100,9 @@ fi %{xmldir}/Console_GetoptPlus.xml %changelog +* Thu Jun 16 2016 Jean-Philipe Pialasse 1.0.0RC1-3.sme +- importing to buildsys pear packages for Horde [SME: 9600] + * Mon May 6 2013 John H. Bennett III - 1.0.0RC1-2 - updated spec file requires section, and left original info remarked.