summaryrefslogtreecommitdiffstats
path: root/php-pear-Console-CommandLine.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pear-Console-CommandLine.spec')
-rw-r--r--php-pear-Console-CommandLine.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-pear-Console-CommandLine.spec b/php-pear-Console-CommandLine.spec
index e54ccbe..a21424a 100644
--- a/php-pear-Console-CommandLine.spec
+++ b/php-pear-Console-CommandLine.spec
@@ -1,4 +1,4 @@
-# remirepo/fedora spec file for ImageMagick
+# remirepo/fedora spec file for php-pear-Console-CommandLine
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -10,7 +10,7 @@
%global pear_name Console_CommandLine
Name: php-pear-Console-CommandLine
-Version: 1.2.1
+Version: 1.2.2
Release: 1%{?dist}
Summary: A full featured command line options and arguments parser
@@ -19,9 +19,6 @@ License: MIT
URL: http://pear.php.net/package/%{pear_name}
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
-# https://github.com/pear/Console_CommandLine/pull/8
-Patch1: %{pear_name}-pr8.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear
@@ -53,14 +50,9 @@ Main features:
%prep
%setup -qc
-# because of our patches
-sed -e 's/md5sum=.*name/name/' -i package.xml
-
cd %{pear_name}-%{version}
mv ../package.xml %{name}.xml
-%patch1 -p1 -b .pr8
-
%build
cd %{pear_name}-%{version}
@@ -68,8 +60,9 @@ cd %{pear_name}-%{version}
%install
+rm -rf %{buildroot}
+
cd %{pear_name}-%{version}
-rm -rf %{buildroot} docdir
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
@@ -111,6 +104,9 @@ fi
%changelog
+* Mon Jul 18 2016 Remi Collet <remi@fedoraproject.org> - 1.2.2-1
+- Update to 1.2.2
+
* Fri Dec 11 2015 Remi Collet <remi@fedoraproject.org> - 1.2.1-1
- Update to 1.2.1
- provide php-composer(pear/console_commandline)