diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:53:52 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:53:52 +0900 |
commit | e69296cfbfd9bc7a9a5da7a78fbaca07072e3d16 (patch) | |
tree | 2bb1d4d8092c48ef0f9f0d37d12b985b12bc5ece | |
parent | 0254042972e8b301303ad00678e5388e7722b440 (diff) | |
download | libsolv-e69296cfbfd9bc7a9a5da7a78fbaca07072e3d16.tar.gz libsolv-e69296cfbfd9bc7a9a5da7a78fbaca07072e3d16.tar.bz2 libsolv-e69296cfbfd9bc7a9a5da7a78fbaca07072e3d16.zip |
Imported Upstream version 0.6.8upstream/0.6.8
Change-Id: I831fe431b1bc73eb9fb9300b07abe823d806d843
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | VERSION.cmake | 2 | ||||
-rw-r--r-- | bindings/solv.i | 36 | ||||
-rw-r--r-- | package/libsolv.changes | 6 | ||||
-rw-r--r-- | package/libsolv.spec.in | 2 |
4 files changed, 26 insertions, 20 deletions
diff --git a/VERSION.cmake b/VERSION.cmake index be0e7e7..c129470 100644 --- a/VERSION.cmake +++ b/VERSION.cmake @@ -49,5 +49,5 @@ SET(LIBSOLVEXT_SOVERSION "0") SET(LIBSOLV_MAJOR "0") SET(LIBSOLV_MINOR "6") -SET(LIBSOLV_PATCH "7") +SET(LIBSOLV_PATCH "8") diff --git a/bindings/solv.i b/bindings/solv.i index 20facc5..78e0021 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -1,8 +1,8 @@ -# -# WARNING: for perl iterator/array support you need to run -# sed -i -e 's/SvTYPE(tsv) == SVt_PVHV/SvTYPE(tsv) == SVt_PVHV || SvTYPE(tsv) == SVt_PVAV/' -# on the generated c code -# +/* + * WARNING: for perl iterator/array support you need to run + * sed -i -e 's/SvTYPE(tsv) == SVt_PVHV/SvTYPE(tsv) == SVt_PVHV || SvTYPE(tsv) == SVt_PVAV/' + * on the generated c code + */ %module solv @@ -10,9 +10,9 @@ %markfunc Pool "mark_Pool"; #endif -# -# binaryblob handling -# +/* + * binaryblob handling + */ %{ typedef struct { @@ -131,10 +131,10 @@ typedef struct { queue_push(&$1, v); } } -# AV *o = newAV(); -# av_push(o, SvREFCNT_inc(SWIG_From_int($1.elements[i]))); -# $result = newRV_noinc((SV*)o); argvi++; -# +/* AV *o = newAV(); + * av_push(o, SvREFCNT_inc(SWIG_From_int($1.elements[i]))); + * $result = newRV_noinc((SV*)o); argvi++; + */ %typemap(out) Queue { int i; if (argvi + $1.count + 1 >= items) { @@ -233,7 +233,7 @@ typedef struct { #if defined(SWIGPERL) -# work around a swig bug +/* work around a swig bug */ %{ #undef SWIG_CALLXS #ifdef PERL_OBJECT @@ -628,7 +628,7 @@ typedef int Id; %include "knownid.h" -# from repodata.h +/* from repodata.h */ %constant Id SOLVID_META; %constant Id SOLVID_POS; @@ -646,7 +646,7 @@ typedef struct { Id const id; } Dep; -# put before pool/repo so we can access the constructor +/* put before pool/repo so we can access the constructor */ %nodefaultdtor Dataiterator; typedef struct {} Dataiterator; @@ -1627,7 +1627,7 @@ rb_eval_string( bool write(FILE *fp) { return repo_write($self, fp) == 0; } - # HACK, remove if no longer needed! + /* HACK, remove if no longer needed! */ bool write_first_repodata(FILE *fp) { int oldnrepodata = $self->nrepodata; int res; @@ -2923,7 +2923,7 @@ rb_eval_string( return q; } - # deprecated, use newsolvables instead + /* deprecated, use newsolvables instead */ %typemap(out) Queue newpackages Queue2Array(XSolvable *, 1, new_XSolvable(arg1->pool, id)); %newobject newpackages; Queue newpackages() { @@ -2935,7 +2935,7 @@ rb_eval_string( return q; } - # deprecated, use keptsolvables instead + /* deprecated, use keptsolvables instead */ %typemap(out) Queue keptpackages Queue2Array(XSolvable *, 1, new_XSolvable(arg1->pool, id)); %newobject keptpackages; Queue keptpackages() { diff --git a/package/libsolv.changes b/package/libsolv.changes index 38d81bb..9579927 100644 --- a/package/libsolv.changes +++ b/package/libsolv.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Jan 14 08:58:46 CET 2015 - ma@suse.de + +- fixes to build with swig 3.0.3 +- bump version to 0.6.8 + +------------------------------------------------------------------- Fri Dec 19 08:59:27 CET 2014 - ma@suse.de - add product:regflavor attribute [bnc#896224] diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index 5292459..934ae2e 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -18,7 +18,7 @@ Name: libsolv Version: @VERSION@ Release: 0 -Url: git://gitorious.org/opensuse/libsolv.git +Url: https://github.com/openSUSE/libsolv Source: libsolv-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build |