[Mageia-dev] provide bugfix

Florent Monnier monnier.florent at gmail.com
Sat Jun 2 18:26:51 CEST 2012


Le samedi 02 juin 2012 15:53:16, vous avez écrit :
> Le samedi 02 juin 2012 15:18:07, Sander Lepik a écrit :
> > 02.06.2012 15:57, Florent Monnier kirjutas:
> > > What is the equivalent with mgarepo ?
> > 
> > I think you should read the full policy first:
> > https://wiki.mageia.org/en/Updates_policy

Well, I've tryied to follow the process, and I found the commands on this 
other page:
https://wiki.mageia.org/en/Mgarepo#I_want_to_submit_a_package_in_updates_testing_for_a_stable_release

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:
# https://bugs.mageia.org/show_bug.cgi?id=6296

$ svn diff
Index: SPECS/lua.spec
===================================================================
--- SPECS/lua.spec	(ré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:		http://www.lua.org/
Index: SOURCES/lua-5.1-dynlib.patch
===================================================================
--- SOURCES/lua-5.1-dynlib.patch	(ré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+ssh://svn.mageia.org/svn/packages/updates/2/lua
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+ssh://svn.mageia.org/svn/packages/updates/2/lua
error: target not found


## I've written this "update advisory announcement" :
## https://bugs.mageia.org/show_bug.cgi?id=6296#c1

## I've reassign the bug to qa-bugs at ml.mageia.org

I don't understand "Lists ALL SRPMS needed for the update"
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


More information about the Mageia-dev mailing list