Projects
home:sicherha:branches:Kolab:16
iRony
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 7
View file
iRony.spec
Changed
@@ -38,7 +38,7 @@ Name: iRony Version: 0.4.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DAV for Kolab Groupware Group: Applications/Internet @@ -159,6 +159,26 @@ install -pm 640 config/dav.inc.php.sample %{buildroot}/%{_sysconfdir}/%{name}/dav.inc.php +# Fix upgrade path for `vendor` directory -> symlink change +%if 0%{?rhel} < 8 +%pretrans -p <lua> +-- Define the path to directory being replaced below. +-- DO NOT add a trailing slash at the end. +path = "%{_datadir}/%{name}/vendor" +st = posix.stat(path) +if st and st.type == "directory" then + status = os.rename(path, path .. ".rpmmoved") + if not status then + suffix = 0 + while not status do + suffix = suffix + 1 + status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix) + end + os.rename(path, path .. ".rpmmoved") + end +end +%endif + %post if [ -f "/etc/php.d/apc.ini" -o -f "%{php_inidir}/apcu.ini" ]; then if [ ! -z "`grep ^apc.enabled=1 /etc/php.d/apc{,u}.ini 2>/dev/null`" ]; then @@ -180,6 +200,9 @@ %attr(0770,%{httpd_user},%{httpd_group}) %{_localstatedir}/log/%{name} %changelog +* Sat Feb 12 2022 Christoph Erhardt <kolab@sicherha.de> - 0.4.6-2 +- Fix transaction error on upgrade + * Sat Dec 25 2020 Christian Mollekopf <mollekopf@kolabsys.com> - 0.4.5-2 - Fixed configuration directory permissions - Link to roundcubemail vendor directory in ootpa
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.