1 |
%define version 15.0.0 |
%define version 15.0.0 |
2 |
%define release 4 |
%define release 6 |
3 |
|
|
4 |
%define apache_serverroot /usr/share |
%define apache_serverroot /usr/share |
5 |
%define apache_confdir /etc/httpd/conf.d |
%define apache_confdir /etc/httpd/conf.d |
47 |
Requires: php71-php-mysqlnd |
Requires: php71-php-mysqlnd |
48 |
#rh-php71-php-pdo_mysql |
#rh-php71-php-pdo_mysql |
49 |
|
|
50 |
Conflicts: nextcloud < 15 |
# Conflicts: nextcloud < 15 |
51 |
|
|
52 |
%description |
%description |
53 |
Nextcloud files and configuration. |
Nextcloud files and configuration. |
103 |
[ "$1" = "$2" ] && return 1 || verlte $1 $2 |
[ "$1" = "$2" ] && return 1 || verlte $1 $2 |
104 |
} |
} |
105 |
|
|
106 |
if [ $1 == 1 ]]; then |
if [ $1 == 1 ]; then |
107 |
# if there is already an installed version |
# if there is already an installed version |
108 |
if [ -f /usr/share/nextcloud/version.php ] |
if [ -f /usr/share/nextcloud/version.php ] |
109 |
then |
then |
179 |
|
|
180 |
|
|
181 |
%changelog |
%changelog |
182 |
|
* Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 15.0.0-6.sme |
183 |
|
- fix typo in postun script [SME: 10747] |
184 |
|
|
185 |
|
* Tue Jan 08 2019 Jean-Philipe Pialasse <tests@pialasse.com> 15.0.0-5.sme |
186 |
|
- remove conflicts nextcloud <15 to allow people to use the rpm update if they are |
187 |
|
with manual updated version 14 with rpm version 13 [SME: 10696] |
188 |
|
|
189 |
* Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 15.0.0-4.sme |
* Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 15.0.0-4.sme |
190 |
- prevent rpm to upgrade if webupdate has been used [SME: 10670] |
- prevent rpm to upgrade if webupdate has been used [SME: 10670] |
191 |
and rpm version is < to on disk version |
and rpm version is < to on disk version |