diff --git a/roundcubemail.spec b/roundcubemail.spec index 2251d60..dcc4191 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -17,7 +17,7 @@ Summary: a web-mailer written in php4 Packager: Peter Nixon Vendor: Suntel Communications Distribution: SUSE Linux -%define sqm_path /srv/www/htdocs/roundcube +%define sqm_path /srv/www/htdocs/%{name} %define b_sqm_path $RPM_BUILD_ROOT/%{sqm_path} %define sqm_doc /%{_defaultdocdir}/roundcube %define b_sqm_doc $RPM_BUILD_ROOT/%{sqm_doc} @@ -48,11 +48,10 @@ rm -rf $RPM_BUILD_ROOT %doc %attr(- root root) CHANGELOG INSTALL UPGRADING LICENSE README %dir %{sqm_path} %dir %{sqm_path}/config -%config(noreplace) /srv/www/htdocs/roundcube/config/.htaccess -%config(noreplace) /srv/www/htdocs/roundcube/config/db.inc.php -%config(noreplace) /srv/www/htdocs/roundcube/config/main.inc.php -/srv/www/htdocs/roundcube/config/db.inc.php.dist -/srv/www/htdocs/roundcube/config/main.inc.php.dist +%config(noreplace) %{sqm_path}/config/.htaccess +%config(noreplace) %{sqm_path}/config/db.inc.php +%config(noreplace) %{sqm_path}/config/main.inc.php +%{sqm_path}/config/*.dist %{sqm_path}/[^c]* %changelog