Skip to content

Commit 300b53d

Browse files
authored
Merge pull request #13 from wp-cli/adapt-deb-rpm-to-v2
Adapt RPM and DEB tools to v2
2 parents 628717f + bac5ea4 commit 300b53d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

utils/wp-cli-rpm.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Source1: wp.1
99
BuildArch: noarch
1010

1111
%post
12-
echo "PHP 5.3.29 or above must be installed."
12+
echo "PHP 5.4 or above must be installed."
1313

1414
%description
1515
WP-CLI is the command-line interface for WordPress.
@@ -42,7 +42,7 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/
4242
* Tue Dec 12 2017 Murtaza Sarıaltun <[email protected]> - 0.0.0-2
4343
- Remove php requirements.
4444
- Update creating man page steps.
45-
- Added output message.
45+
- Added output message.
4646

4747
* Fri Jul 7 2017 Murtaza Sarıaltun <[email protected]> - 0.0.0-1
4848
- First release of the spec file

utils/wp-cli-updatedeb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ dump_control() {
2828
Package: php-wpcli
2929
Version: 0.0.0
3030
Architecture: all
31-
Maintainer: Daniel Bachhuber <[email protected]>
31+
Maintainer: Alain Schlesser <[email protected]>
3232
Section: php
3333
Priority: optional
34-
Depends: php5-cli (>= 5.3.29) | php-cli | php7-cli, php5-mysql | php5-mysqlnd | php7.0-mysql | php7.1-mysql, mysql-client | mariadb-client
34+
Depends: php5-cli (>= 5.4) | php-cli | php7-cli, php5-mysql | php5-mysqlnd | php7.0-mysql | php7.1-mysql, mysql-client | mariadb-client
3535
Homepage: http://wp-cli.org/
3636
Description: wp-cli is a set of command-line tools for managing
3737
WordPress installations. You can update plugins, set up multisite

utils/wp-cli-updaterpm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# DATE :2017-07-12
77
# AUTHOR :Viktor Szépe <[email protected]>
88
# LICENSE :The MIT License (MIT)
9-
# URL :https://github.com/wp-cli/wp-cli/tree/master/utils
9+
# URL :https://github.com/wp-cli/wp-cli-bundle/tree/master/utils
1010
# BASH-VERSION :4.2+
1111
# DEPENDS :apt-get install rpm rpmlint php-cli
1212

@@ -96,7 +96,7 @@ elif ([ $(type -P "rpm2cpio") ] && [ $(type -P "cpio") ]); then
9696

9797
if [ -f "usr/bin/wp" ] ; then
9898
echo "RPM test succeeded"
99-
else
99+
else
100100
echo "RPM test failed"
101101
fi
102102
rm -rfv ../rpm-test-$$

0 commit comments

Comments
 (0)