<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] provide bugfix
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20provide%20bugfix&In-Reply-To=%3C201206021826.51191.monnier.florent%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="016072.html">
   <LINK REL="Next"  HREF="016074.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] provide bugfix</H1>
    <B>Florent Monnier</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20provide%20bugfix&In-Reply-To=%3C201206021826.51191.monnier.florent%40gmail.com%3E"
       TITLE="[Mageia-dev] provide bugfix">monnier.florent at gmail.com
       </A><BR>
    <I>Sat Jun  2 18:26:51 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="016072.html">[Mageia-dev] provide bugfix
</A></li>
        <LI>Next message: <A HREF="016074.html">[Mageia-dev] provide bugfix
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16073">[ date ]</a>
              <a href="thread.html#16073">[ thread ]</a>
              <a href="subject.html#16073">[ subject ]</a>
              <a href="author.html#16073">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le samedi 02 juin 2012 15:53:16, vous avez &#233;crit :
&gt;<i> Le samedi 02 juin 2012 15:18:07, Sander Lepik a &#233;crit :
</I>&gt;<i> &gt; 02.06.2012 15:57, Florent Monnier kirjutas:
</I>&gt;<i> &gt; &gt; What is the equivalent with mgarepo ?
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; I think you should read the full policy first:
</I>&gt;<i> &gt; <A HREF="https://wiki.mageia.org/en/Updates_policy">https://wiki.mageia.org/en/Updates_policy</A>
</I>
Well, I've tryied to follow the process, and I found the commands on this 
other page:
<A HREF="https://wiki.mageia.org/en/Mgarepo#I_want_to_submit_a_package_in_updates_testing_for_a_stable_release">https://wiki.mageia.org/en/Mgarepo#I_want_to_submit_a_package_in_updates_testing_for_a_stable_release</A>

So here is what I've done, please tell me if that's correct or not:

$ mgarepo co 2/lua
$ bm -b -l
$ cd lua
$ vim SOURCES/lua-5.1-dynlib.patch SPECS/lua.spec
$ mgarepo maintdb get lua
nobody

# filled this bug:
# <A HREF="https://bugs.mageia.org/show_bug.cgi?id=6296">https://bugs.mageia.org/show_bug.cgi?id=6296</A>

$ svn diff
Index: SPECS/lua.spec
===================================================================
--- SPECS/lua.spec	(r&#233;vision 253430)
+++ SPECS/lua.spec	(copie de travail)
@@ -7,6 +7,7 @@
 Summary:	Powerful, light-weight programming language
 Name:		lua
 Version:	5.1.4
+%define subrel 1
 Release:	%mkrel 10
 License:	MIT
 URL:		<A HREF="http://www.lua.org/">http://www.lua.org/</A>
Index: SOURCES/lua-5.1-dynlib.patch
===================================================================
--- SOURCES/lua-5.1-dynlib.patch	(r&#233;vision 253430)
+++ SOURCES/lua-5.1-dynlib.patch	(copie de travail)
@@ -22,7 +22,7 @@
  	$(RANLIB) $@
 
 +$(LUA_SO): $(CORE_O) $(LIB_O)
-+	gcc -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) 
$(LUA_O)
++	gcc -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS)
 +	rm -f liblua.so
 +	ln -s $@ liblua.so
 +

$ mgarepo ci -m 'fixed building the dynamic library liblua.so: the .o file of 
the interactive interpreter lua.o should not be used to build the .so lib'

## Rev 253431

$ mgarepo submit 2/lua --define section=core/updates_testing -t 253431
Fetching revision...
URL: svn+<A HREF="ssh://svn.mageia.org/svn/packages/updates/2/lua">ssh://svn.mageia.org/svn/packages/updates/2/lua</A>
Commit: 253431 | blue_prawn | fixed building the dynamic library liblua.so: 
the .o file...
error: command failed: ssh pkgsubmit.mageia.org /usr/local/bin/submit_package 
-t 253431 --define sid=a62f5725-69ee-40ee-beb4-4e062402cf30 --define 
section=core/updates_testing -r 253431 
svn+<A HREF="ssh://svn.mageia.org/svn/packages/updates/2/lua">ssh://svn.mageia.org/svn/packages/updates/2/lua</A>
error: target not found


## I've written this &quot;update advisory announcement&quot; :
## <A HREF="https://bugs.mageia.org/show_bug.cgi?id=6296#c1">https://bugs.mageia.org/show_bug.cgi?id=6296#c1</A>

## I've reassign the bug to <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">qa-bugs at ml.mageia.org</A>

I don't understand &quot;Lists ALL SRPMS needed for the update&quot;
Is it the list of the packages used in the BuildRequires ?

Please tell me, if all that I have just (already) done is OK ?
If not please tell me how to correct ?


-- 
Thanks
</PRE>
































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="016072.html">[Mageia-dev] provide bugfix
</A></li>
	<LI>Next message: <A HREF="016074.html">[Mageia-dev] provide bugfix
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16073">[ date ]</a>
              <a href="thread.html#16073">[ thread ]</a>
              <a href="subject.html#16073">[ subject ]</a>
              <a href="author.html#16073">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>