diff --git a/.gitignore b/.gitignore index 7975f2f..bc11391 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /libcomps-3b262476abc6b599b75706156180f2a3c0b36a47.tar.gz /libcomps-2c56e049c2b01af0127b6b0a86ef55125b7721f5.tar.gz /libcomps-e77f33d2b87eb55c37a94777d1909076589ca6a7.tar.gz +/libcomps-89e74eac90c9c1734158e00b397718cb325fe511.tar.gz diff --git a/libcomps.spec b/libcomps.spec index b182cff..556e44d 100644 --- a/libcomps.spec +++ b/libcomps.spec @@ -1,7 +1,7 @@ -%global commit e77f33d2b87eb55c37a94777d1909076589ca6a7 +%global commit 89e74eac90c9c1734158e00b397718cb325fe511 Name: libcomps -Version: 0.1.5 +Version: 0.1.6 Release: 1%{?dist} Summary: Comps XML file manipulation library @@ -24,7 +24,7 @@ comps XML files. Supports read/write XML file, structure(s) modification. %package doc Summary: Documentation files for libcomps library -Group: Development/Libraries +Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch BuildRequires: doxygen @@ -32,6 +32,16 @@ BuildRequires: doxygen %description doc Documentation files for libcomps library +%package -n python-libcomps-doc +Summary: Documentation files for python bindings libcomps library +Group: Documentation +Requires: %{name} = %{version}-%{release} +BuildArch: noarch +BuildRequires: python-sphinx + +%description -n python-libcomps-doc +Documentation files for python bindings libcomps library + %package devel Summary: Development files for libcomps library Group: Development/Libraries @@ -71,16 +81,19 @@ mv ../py3 ./ %cmake -DPYTHON_DESIRED:STRING=2 libcomps/ make %{?_smp_mflags} make %{?_smp_mflags} docs +make %{?_smp_mflags} pydocs pushd py3 %cmake -DPYTHON_DESIRED:STRING=3 libcomps/ make %{?_smp_mflags} -make %{?_smp_mflags} docs popd -%check devel - make test +%check +make test +pushd py3 +make pytest +popd %install make install DESTDIR=%{buildroot} @@ -106,6 +119,9 @@ rm -rf $buildroot %files doc %doc docs/libcomps-doc/html +%files -n python-libcomps-doc +%doc src/python/docs/html + %files -n python-libcomps %{_libdir}/python2* %exclude %{_libdir}/python2/libcomps/__pycache__ @@ -116,25 +132,31 @@ rm -rf $buildroot %changelog -* Tue Dec 03 2013 Jindrich Luza 0.1.5.gite77f33d -- dict.get() exception error fixed - * Wed Oct 23 2013 Jindrich Luza 0.1.4-4 - group.uservisible is true by default now. +- fixed comps_mobjradix parent node problem +- implemented bindings for blacklist, whiteout and langpacks +- COMPS_Logger redesigned * Tue Oct 08 2013 Jindrich Luza 0.1.5 - version bump +- PyCOMPS_Sequence.__getitem__["objectid"] implemented for libcomps.GroupList, libcomps.CategoryList, libcomps.EnvList +- added missing files +- missing display_order fix for libcomps.Environment * Tue Oct 01 2013 Jindrich Luza 0.1.4 - added missing files -- added missing files -- version bumped. Python bindings is now easier. - architectural redesign finished - fixed #1003986 by Gustavo Luiz Duarte guidelines (but not tested on ppc) - fixed bug #1000449 - fixed bug #1000442 - added GroupId.default test - some minor unreported bugs discovered during testing fixed +- finished default attribute support in groupid object +- Comps.get_last_parse_errors and Comps.get_last_parse_log has been renamed +- as Comps.get_last_errors and Comps.get_last_log +- version bumped. Python bindings is now easier. +- added missing files * Tue Aug 20 2013 Jindrich Luza 0.1.3 - finished default attribute support in groupid object @@ -146,10 +168,17 @@ rm -rf $buildroot * Thu Jul 18 2013 Jindrich Luza 0.1.2 - automatic changelog system +- improved integrated tests +- prop system complete +- fixed issue 1 +- fixed issue 3 +- added support +- new prop system in progress.... +- separated doc package +- some minor fixes in CMakeFiles - fixed issue #14 - libcomps.Dict is now behave more like python dict. Implemented iter(libcomps.Dict) - libcomps.iteritems() and libcomps.itervalues() -- added support - remaked error reporting system. - libcomps.Comps.fromxml_f and libcomps.Comps.fromxml_str now return - -1, 0 or 1. 0 means parse procedure completed without any problem, @@ -160,15 +189,7 @@ rm -rf $buildroot - libcomps.Comps.get_last_parse_errors - all log is given by - libcomps.Comps.get_last_parse_log -- improved integrated tests -- prop system complete -- fixed issue 1 -- fixed issue 3 -- new prop system in progress.... -- separated doc package -- some minor fixes in CMakeFiles * Tue Jun 25 2013 Jindrich Luza 0.1.1-1 - Automatic commit of package [libcomps] release [0.1.1-1]. - diff --git a/sources b/sources index a957021..bd79de0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b16024a7bd7d2c63f632fe688ee716a8 libcomps-e77f33d2b87eb55c37a94777d1909076589ca6a7.tar.gz +070d1d9df4c2a7eea65060005fc04233 libcomps-89e74eac90c9c1734158e00b397718cb325fe511.tar.gz