[Mageia-dev] [177078] Add README.urpmi to note that apache needs to be running

Anssi Hannula anssi at mageia.org
Mon Dec 5 22:15:59 CET 2011


On 05.12.2011 22:54, root at mageia.org wrote:
> Revision
>     177078
> Author
>     alien
> Date
>     2011-12-05 21:54:54 +0100 (Mon, 05 Dec 2011)
> 
> 
>       Log Message
> 
> Add README.urpmi to note that apache needs to be running

Plese use README.install.urpmi instead, otherwise the message will be
shown on every upgrade.

See
https://wiki.mageia.org/en/Packagers_RPM_tutorial#Interaction_with_urpmi_and_rpmdrake


>       Modified Paths
> 
>   * cauldron/urpmi-proxy/current/SPECS/urpmi-proxy.spec
>     <#cauldronurpmiproxycurrentSPECSurpmiproxyspec>
> 
> Modified: cauldron/urpmi-proxy/current/SPECS/urpmi-proxy.spec
> ===================================================================
> --- cauldron/urpmi-proxy/current/SPECS/urpmi-proxy.spec	2011-12-05 20:44:07 UTC (rev 177077)
> +++ cauldron/urpmi-proxy/current/SPECS/urpmi-proxy.spec	2011-12-05 20:54:54 UTC (rev 177078)
> @@ -1,6 +1,6 @@
>  Name: urpmi-proxy
>  Version: 0.2.4
> -Release: %mkrel 1
> +Release: %mkrel 2
>  Summary: A proxy for urpmi repository mirrors
>  Group: System/Configuration/Packaging
>  License: GPLv2+
> @@ -22,7 +22,7 @@
>  extra repository so you can provide extra or modified packages.
>  
>  %files
> -%doc README AUTHORS TODO INSTALL LICENSE
> +%doc README AUTHORS TODO INSTALL LICENSE README.urpmi
>  %attr(0750,apache,apache) %dir %{_var}/cache/urpmi-proxy
>  %attr(0750,apache,apache) %config(noreplace) %{_var}/log/urpmi-proxy.log
>  %attr(0750,root,apache) %dir %{_datadir}/urpmi-proxy
> @@ -37,6 +37,17 @@
>  
>  %build
>  
> +cat > README.urpmi <<EOF
> +
> +NOTE: urpmi-proxy functions as an apache webapp, so apache service will have
> +to be started for urpmi-proxy to work, if apache is now installed as a
> +dependency, chances are high that it's not yet running, even though it's
> +installed. you can start apache with:
> +
> +   /etc/init.d/httpd start
> +
> +EOF
> +
>  %install
>  rm -fr %{buildroot}
>  %{__mkdir_p} %{buildroot}%{_var}/cache/urpmi-proxy
> 
> 


-- 
Anssi Hannula


More information about the Mageia-dev mailing list