Projects
Kolab:16:TestingLinked
roundcubemail-selfcontained
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
roundcubemail.spec
Changed
@@ -58,7 +58,7 @@ Name: roundcubemail Version: %{rc_version} -Release: 1%{?dot_rel_suffix}%{?dist} +Release: 3%{?dot_rel_suffix}%{?dist} Summary: Roundcube Webmail is a browser-based multilingual IMAP client @@ -480,6 +480,22 @@ %{__rm} -rf %{plugindir}/enigma/home >/dev/null 2>&1 || : fi +%pretrans -p <lua> +-- Required because directory is replaced with symlink per +-- https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/ +path = "/usr/share/roundcubemail/skins/elastic/images" +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 %posttrans # replace default des string in config file for better security @@ -552,6 +568,8 @@ %{_datadir}/%{name}/ %{_sharedstatedir}/%{name}/ +%ghost %{_datadir}/%{name}/skins/elastic/images.rpmmoved + %attr(0640,root,root) %{_var}/log/%{name}/ %defattr(-,root,root,-)
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
.