Projects
Kolab:3.4
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 82
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -901,6 +901,14 @@ # Remove hidden files find . -type f -name ".*" -delete + +# Eliminate links +for link in `find . -type l`; do + source=$(readlink -f ${link}) + rm -rf ${link} + cp -av ${source} ${link} +done + popd for plugin in $(find %{name}-%{version}/plugins -mindepth 1 -maxdepth 1 -type d | sort); do @@ -1156,22 +1164,6 @@ find ${orig_dir} -type d -empty -delete || : done - %{__mkdir_p} %{buildroot}%{plugindir} - cp -a %{name}-plugin-${plugin}-%{version}/plugins/${plugin} %{buildroot}%{plugindir}/. - - if [ -f "%{buildroot}%{plugindir}/${plugin}/config.inc.php.dist" ]; then - pushd %{buildroot}%{plugindir}/${plugin} - %{__mv} config.inc.php.dist %{buildroot}%{confdir}/${plugin}.inc.php - ln -s ../../../..%{confdir}/${plugin}.inc.php config.inc.php - popd - fi - - new_files > plugin-${plugin}.files - - echo "== Files for plugin ${plugin}: ==" - cat plugin-${plugin}.files - echo "===========================" - # Skin-independent assets orig_dir="%{name}-plugin-${plugin}-%{version}" asset_dir="%{name}-plugin-${plugin}-assets-%{version}" @@ -1234,6 +1226,22 @@ echo "== Files for plugin ${plugin}: ==" cat plugin-${plugin}-assets.files echo "===========================" + + %{__mkdir_p} %{buildroot}%{plugindir} + cp -a %{name}-plugin-${plugin}-%{version}/plugins/${plugin} %{buildroot}%{plugindir}/. + + if [ -f "%{buildroot}%{plugindir}/${plugin}/config.inc.php.dist" ]; then + pushd %{buildroot}%{plugindir}/${plugin} + %{__mv} config.inc.php.dist %{buildroot}%{confdir}/${plugin}.inc.php + ln -s ../../../..%{confdir}/${plugin}.inc.php config.inc.php + popd + fi + + new_files > plugin-${plugin}.files + + echo "== Files for plugin ${plugin}: ==" + cat plugin-${plugin}.files + echo "===========================" done for plugin in $(find %{name}-%{version}/plugins/ -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | sort); do
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
.