[Mageia-dev] [134638] - clean spec

D.Morgan dmorganec at gmail.com
Sat Aug 20 15:34:52 CEST 2011


On Sat, Aug 20, 2011 at 3:22 PM,  <root at mageia.org> wrote:
> Revision 134638 Author shadow95 Date 2011-08-20 15:22:52 +0200 (Sat, 20 Aug
> 2011)
>
> Log Message
>
> - clean spec
>
> Modified Paths
>
> cauldron/gcstar/current/SPECS/gcstar.spec
>
> Modified: cauldron/gcstar/current/SPECS/gcstar.spec
> ===================================================================
> --- cauldron/gcstar/current/SPECS/gcstar.spec	2011-08-20 13:17:33 UTC (rev
> 134637)
> +++ cauldron/gcstar/current/SPECS/gcstar.spec	2011-08-20 13:22:52 UTC (rev
> 134638)
> @@ -24,15 +24,16 @@
>  %setup -q -n %{name}
>
>  %install
> -%{__mkdir_p} %{buildroot}%{_prefix}
> -%{__install} -d %{buildroot}%{_bindir}
> -%{__install} bin/gcstar %{buildroot}%{_bindir}
> -%{__install} -d %{buildroot}%{_prefix}/lib
> -%{__cp} -a lib/gcstar %{buildroot}%{_prefix}/lib
> -%{__install} -d %{buildroot}%{_datadir}
> -%{__cp} -a share/* %{buildroot}%{_datadir}
> -%{__install} -d %{buildroot}%{_mandir}/man1
> -%{__install} man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
> +rm -rf %{buildroot}
> +mkdir -p %{buildroot}%{_prefix}
> +install -d %{buildroot}%{_bindir}
> +install bin/gcstar %{buildroot}%{_bindir}
> +install -d %{buildroot}%{_prefix}/lib
> +cp -a lib/gcstar %{buildroot}%{_prefix}/lib
> +install -d %{buildroot}%{_datadir}
> +cp -a share/* %{buildroot}%{_datadir}
> +install -d %{buildroot}%{_mandir}/man1
> +install man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1


Why do you clean by removing rpm macros ?  what was wrong with them ?


More information about the Mageia-dev mailing list