[opensuse-packaging] Is there a macro for "/src/www/htdocs"?
![](https://seccdn.libravatar.org/avatar/25bbc96d9c53647354cb724e744b2222.jpg?s=120&d=mm&r=g)
All, I've got a very simple package in my home project: (home:gregfreemyer:Weather > Weathergraphs) It is basically just some php files and a couple docs. In my specfile, I currently have: %install mkdir -p $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs install *.php $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs chmod -x $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs/*.php My specfile works with opensuse, but it's failing with both Fedora and Mandriva. I assume the above is the culprit. Can someone tell me the right way to do that. Thanks Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
El 09/11/10 12:33, Greg Freemyer escribió:
All,
I've got a very simple package in my home project: (home:gregfreemyer:Weather > Weathergraphs)
It is basically just some php files and a couple docs.
In my specfile, I currently have:
%install mkdir -p $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs install *.php $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs chmod -x $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs/*.php
My specfile works with opensuse, but it's failing with both Fedora and Mandriva.
I assume the above is the culprit.
Can someone tell me the right way to do that.
Create a local macro in your package, if suse it is /srv/www else /var/www/html -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/25bbc96d9c53647354cb724e744b2222.jpg?s=120&d=mm&r=g)
On Tue, Nov 9, 2010 at 10:44 AM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 09/11/10 12:33, Greg Freemyer escribió:
All,
I've got a very simple package in my home project: (home:gregfreemyer:Weather > Weathergraphs)
It is basically just some php files and a couple docs.
In my specfile, I currently have:
%install mkdir -p $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs install *.php $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs chmod -x $RPM_BUILD_ROOT/srv/www/htdocs/weathergraphs/*.php
My specfile works with opensuse, but it's failing with both Fedora and Mandriva.
I assume the above is the culprit.
Can someone tell me the right way to do that.
Create a local macro in your package, if suse it is /srv/www else /var/www/html
Thanks, the fedora and mandriva packages now build. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Greg Freemyer