Blame SPECS/hawkey.spec

ff2925
%global libsolv_version 0.6.4-1
ff2925
44fa2d
%if 0%{?rhel} <= 7
44fa2d
%bcond_with python3
44fa2d
%endif
44fa2d
ff2925
Name:		hawkey
44fa2d
Version:	0.5.6
44fa2d
Release:	3.atomic.0%{?dist}
ff2925
Summary:	Library providing simplified C and Python API to libsolv
ff2925
Group:		System Environment/Libraries
ff2925
License:	LGPLv2+
ff2925
URL:		https://github.com/rpm-software-management/%{name}
44fa2d
# git clone https://github.com/rpm-software-management/hawkey.git && cd hawkey && tito build --tgz
44fa2d
Source0:	https://github.com/rpm-software-management/%{name}/archive/%{name}-%{version}.tar.gz
ff2925
BuildRequires:	libsolv-devel >= %{libsolv_version}
ff2925
BuildRequires:	cmake expat-devel rpm-devel zlib-devel check-devel
ff2925
Requires:	libsolv%{?_isa} >= %{libsolv_version}
ff2925
# prevent provides from nonstandard paths:
ff2925
%filter_provides_in %{python_sitearch}/.*\.so$
44fa2d
%if %{with python3}
44fa2d
%filter_provides_in %{python3_sitearch}/.*\.so$
44fa2d
%endif
ff2925
# filter out _hawkey_testmodule.so DT_NEEDED _hawkeymodule.so:
ff2925
%filter_requires_in %{python_sitearch}/hawkey/test/.*\.so$
44fa2d
%if %{with python3}
44fa2d
%filter_requires_in %{python3_sitearch}/hawkey/test/.*\.so$
44fa2d
%endif
ff2925
%filter_setup
ff2925
ff2925
%description
ff2925
A Library providing simplified C and Python API to libsolv.
ff2925
ff2925
%package devel
ff2925
Summary:	A Library providing simplified C and Python API to libsolv
ff2925
Group:		Development/Libraries
ff2925
Requires:	hawkey%{?_isa} = %{version}-%{release}
ff2925
Requires:	libsolv-devel
ff2925
ff2925
%description devel
ff2925
Development files for hawkey.
ff2925
ff2925
%package -n python-hawkey
ff2925
Summary:	Python 2 bindings for the hawkey library
ff2925
Group:		Development/Languages
ff2925
BuildRequires:  python2-devel
ff2925
BuildRequires:  python-nose
44fa2d
%if %{with python3}
44fa2d
BuildRequires:	python-sphinx >= 1.1.3-9
44fa2d
%else
44fa2d
BuildRequires:	python-sphinx
44fa2d
%endif
ff2925
Requires:	%{name}%{?_isa} = %{version}-%{release}
ff2925
ff2925
%description -n python-hawkey
ff2925
Python 2 bindings for the hawkey library.
ff2925
44fa2d
%if %{with python3}
44fa2d
%package -n python3-hawkey
44fa2d
Summary:	Python 3 bindings for the hawkey library
44fa2d
Group:		Development/Languages
44fa2d
BuildRequires:	python3-devel
44fa2d
BuildRequires:	python3-nose
44fa2d
BuildRequires:	python3-sphinx >= 1.1.3-9
44fa2d
Requires:	%{name}%{?_isa} = %{version}-%{release}
44fa2d
44fa2d
%description -n python3-hawkey
44fa2d
Python 3 bindings for the hawkey library.
44fa2d
%endif
44fa2d
ff2925
%prep
44fa2d
%setup -q -n %{name}-%{version}
44fa2d
44fa2d
%if %{with python3}
44fa2d
rm -rf py3
44fa2d
mkdir ../py3
44fa2d
cp -a . ../py3/
44fa2d
mv ../py3 ./
44fa2d
%endif
ff2925
ff2925
%build
ff2925
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
ff2925
make %{?_smp_mflags}
ff2925
make doc-man
ff2925
44fa2d
%if %{with python3}
44fa2d
pushd py3
44fa2d
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_DESIRED:str=3.
44fa2d
make %{?_smp_mflags}
44fa2d
make doc-man
44fa2d
popd
44fa2d
%endif
44fa2d
ff2925
%check
ff2925
make ARGS="-V" test
44fa2d
%if %{with python3}
44fa2d
./py3/tests/python/tests/run_nosetests.sh
44fa2d
%endif
ff2925
ff2925
%install
ff2925
make install DESTDIR=$RPM_BUILD_ROOT
44fa2d
%if %{with python3}
44fa2d
pushd py3
44fa2d
make install DESTDIR=$RPM_BUILD_ROOT
44fa2d
popd
44fa2d
%endif
ff2925
ff2925
%post -p /sbin/ldconfig
ff2925
ff2925
%postun -p /sbin/ldconfig
ff2925
ff2925
%files
ff2925
%doc COPYING README.rst
ff2925
%{_libdir}/libhawkey.so.*
ff2925
ff2925
%files devel
ff2925
%{_libdir}/libhawkey.so
ff2925
%{_libdir}/pkgconfig/hawkey.pc
ff2925
%{_includedir}/hawkey/
ff2925
%{_mandir}/man3/hawkey.3.gz
ff2925
ff2925
%files -n python-hawkey
ff2925
%{python_sitearch}/
ff2925
44fa2d
%if %{with python3}
44fa2d
%files -n python3-hawkey
44fa2d
%{python3_sitearch}/
44fa2d
%exclude %{python3_sitearch}/hawkey/__pycache__
44fa2d
%exclude %{python3_sitearch}/hawkey/test/__pycache__
44fa2d
%endif
44fa2d
ff2925
%changelog
44fa2d
* Mon May 18 2015 Colin Walters <walters@redhat.com> - 0.5.6-3.atomic.0
44fa2d
- Add .atomic disttag to clearly distinguish from mainline
44fa2d
44fa2d
* Sun May 17 2015 Colin Walters <walters@redhat.com> - 0.5.6-2
44fa2d
- Import from http://pkgs.fedoraproject.org/cgit/hawkey.git/commit/?id=04299b605b0b9ac8e82f6f14a1c74924498144e2
ff2925
44fa2d
* Thu May 14 2015 Colin Walters <walters@redhat.com> - 0.5.3-3
44fa2d
- Import from http://pkgs.fedoraproject.org/cgit/libsolv.git/commit/?h=epel7&id=1b7c9c6efd2098cf6747b96f70b7472f1888ea9d
ff2925
44fa2d
* Fri Dec 19 2014 Colin Walters <walters@redhat.com> - 0.4.12-4.atomic.1
44fa2d
- Rebuild for 7.1
ff2925
ff2925
* Fri Mar 14 2014 Jan Silhan <jsilhan@redhat.com> - 0.4.12-1
ff2925
- Fix hy_stringarray_length. (Radek Holy)
ff2925
- tests: bring tests/repos/yum/recreate to a workable state again. (Ales Kozumplik)
ff2925
- added distupgrade function (Related:963710) (Jan Silhan)
ff2925
- remove: _HyPackageList.left. (Ales Kozumplik)
ff2925
- goal: track changes (as reinstalls) (RhBug:1068982) (Ales Kozumplik)
ff2925
ff2925
* Mon Feb 24 2014 Aleš Kozumplik <akozumpl@redhat.com> - 0.4.11-1
ff2925
- fixed typos in tutorial-py.rst (Jan Silhan)
ff2925
- added glob pattern search for arch to nevra_possibilities_real (RhBug:1048788) (Jan Silhan)
ff2925
- Left behind references to README.md from 3b47a13. (Ales Kozumplik)
ff2925
- Add Radek to AUTHORS. (Ales Kozumplik)
ff2925
- update the README. (Ales Kozumplik)
ff2925
- sack: write_*() should also check fclose(). (Ales Kozumplik)
ff2925
ff2925
* Mon Feb 17 2014 Radek Holý <rholy@redhat.com> - 0.4.10-1
ff2925
- tests: add a negative test for reponame. (Radek Holy)
ff2925
- Add reponame into selector. (Radek Holy)
ff2925
- write_main() and write_ext(): even on error do not leave the temporary file behind. (Ales Kozumplik)
ff2925
- write_main() should do a better job erroring out on write errors. (Ales Kozumplik)
ff2925
- Fix vsnprintf SIGSEGV passing "%s" with no va_list args to pool_debug. (RhBug:1064459) (Ales Kozumplik)
ff2925
- Save the cache atomically. (RhBug:1047087) (Ales Kozumplik)
ff2925
- package: call repo_internalize_trigger in get_files() (RhBug:1062703) (Ales Kozumplik)
ff2925
- fixed reldep pointer NULL comparison (Jan Silhan)
ff2925
- fixed indentation in subject-py.c (Jan Silhan)
ff2925
- moved TEST_COND macro to iutil-py.h (Jan Silhan)
ff2925
- moved subject and nevra from python to C (Jan Silhan)
ff2925
- subject in C: work with full reldeps (Jan Silhan)
ff2925
ff2925
* Thu Jan 30 2014 Aleš Kozumplík <ales@redhat.com> - 0.4.9-1
ff2925
- selectors: allow selecting provides with full Reldep string. (Ales Kozumplik)
ff2925
- subject: work with full reldeps (containing the CMP flags). (Ales Kozumplik)
ff2925
- package: hy_package_get_hdr_end(). (Ales Kozumplik)
ff2925
- added subject C API (Jan Silhan)
ff2925
- added nevra C API (Jan Silhan)
ff2925
- fix not accepting numeric version in reldep (RhBug:1052961) (Jan Silhan)
ff2925
- fix Reldep inicialization without sack crash (RhBug:1052947) (Jan Silhan)
ff2925
- tests: make test_goal_selector_upgrade() less assuming. (Ales Kozumplik)
ff2925
ff2925
* Tue Jan 21 2014  Aleš Kozumplík <ales@redhat.com> - 0.4.8-1
ff2925
- installonlies: erase packages depending on a kernel to be erased. (RhBug:1033881) (Ales Kozumplik)
ff2925
- fix: latest_per_arch on incompatible arches. (RhBug:1049226) (Ales Kozumplik)
ff2925
ff2925
* Tue Dec 17 2013  Aleš Kozumplík <ales@redhat.com> - 0.4.7-1
ff2925
- Fix malfunction of Package.__lt__ and Package.__gt__ (RhBug:1014963) (Radek Holy)
ff2925
- Do not crash when querying provides that do not exist (Richard Hughes)
ff2925
ff2925
* Wed Dec 4 2013  Aleš Kozumplík <ales@redhat.com> - 0.4.6-1
ff2925
- remove: packageDelta_new (Zdenek Pavlas)
ff2925
- get_delta_from_evr(): create the python object only when delta exists (Zdenek Pavlas)
ff2925
- fix pycomp_get_string(), pycomp_get_string_from_unicode() (Zdenek Pavlas)
ff2925
- fix get_str() in packagedelta-py (Zdenek Pavlas)
ff2925
- fix: spec: running tests in python3 after build (Jan Silhan)
ff2925
- tests: order packages in .repo files by name. (Ales Kozumplik)
ff2925
- fix: goal: reason for installing when more packages are available to a selector. (Ales Kozumplik)
ff2925
- tests: add a package that is not installed yet available in main, updates. (Ales Kozumplik)
ff2925
- add hy_packagedelta_get_chksum() (Zdenek Pavlas)
ff2925
- add hy_packagedelta_get_downloadsize() (Zdenek Pavlas)
ff2925
- add hy_packagedelta_get_baseurl() (Zdenek Pavlas)
ff2925
- test_query_provides_in: avoid ck_assert_int_eq() as it evaluates args twice (Zdenek Pavlas)
ff2925
- installonlies: fix sorting packages depending on the running kernel. (Ales Kozumplik)
ff2925
- use pool_lookup_deltalocation() (Zdenek Pavlas)
ff2925
- initialize _hawkey.PackageDelta type (Zdenek Pavlas)
ff2925
- delta_create(): fix the sizeof() (Zdenek Pavlas)
ff2925
- parse_reldep_str(): fix buffer overflow (Zdenek Pavlas)
ff2925
- string reldep parsing using parse_reldep_str (Jan Silhan)
ff2925
- added hy_query_filter_provides_in function (RhBug:1019168) (Jan Silhan)
ff2925
- added parse_reldep_str function (Jan Silhan)
ff2925
- fix: py: abort() from python when writing the system .solv cache fails. (Ales Kozumplik)
ff2925
- fix forgotten include causing a compiler warning in testsys.c. (Ales Kozumplik)
ff2925
ff2925
* Fri Nov 8 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.5-1
ff2925
- goal: installonly_limit = 0 means it is disabled. (Ales Kozumplik)
ff2925
- written API changes for Query filter latest option (RhBug:1025650) (Jan Silhan)
ff2925
- tests: superfluous query.run() calls. (Ales Kozumplik)
ff2925
- removed define PyString_AsString in pycomp.h (Jan Silhan)
ff2925
- replaced PyInt_FromLong with PyLong_FromLong (Jan Silhan)
ff2925
- replaced PyInt_AsLong with PyLongAs_Long (Jan Silhan)
ff2925
- added latest to query ignoring architectures (Jan Silhan)
ff2925
- renamed hy_query_filter_latest to hy_query_filter_latest_per_arch (Jan Silhan)
ff2925
- logging: additional logging output on repo loading errors. (Ales Kozumplik)
ff2925
- logging: refactor and add a loglevel. (Ales Kozumplik)
ff2925
- queries: allow glob matching in query. (Ales Kozumplik)
ff2925
- tests: slightly simplify test_subject.py. (Ales Kozumplik)
ff2925
- subject: yield correct results when globbing over a version. (Ales Kozumplik)
ff2925
- subject: globbing for sack._knows. (Ales Kozumplik)
ff2925
- py: subject: sack._knows doesn't need to take sack. (Ales Kozumplik)
ff2925
ff2925
* Tue Oct 29 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.4-1
ff2925
- With the current libsolv there's no need to reinit solver for re-resolving. (Ales Kozumplik)
ff2925
- speedup fetching rpmdb a bit by reusing what we can from the old cache. (Ales Kozumplik)
ff2925
- adapt to libsolv 3b3dd72: obsoleting by an installonly package is erasing. (Ales Kozumplik)
ff2925
- tests: slim test_goal.c by using a testsys function instead of its reimplementation. (Ales Kozumplik)
ff2925
- tests: shave some lines off test_goal.c by using smarter Goal results assertion. (Ales Kozumplik)
ff2925
- installonlines: python bindings for installonly_limit. (Ales Kozumplik)
ff2925
- goal: when sorting the installonly candidates, consider the running kernel. (Ales Kozumplik)
ff2925
- Limit the number of installed installonlies. (RhBug:880524) (Ales Kozumplik)
ff2925
- iutil.c: dump_solvables_queue. (Ales Kozumplik)
ff2925
- refactor: concentrate all libsolv solver initialization into the static solve(). (Ales Kozumplik)
ff2925
- refactor: goal: reinit_solver() (Ales Kozumplik)
ff2925
- tests: dump_packagelist() can free the list too. (Ales Kozumplik)
ff2925
- iutil: running_kernel(). (Ales Kozumplik)
ff2925
ff2925
* Tue Oct 15 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.3-1
ff2925
- methods get_delta_from_evr from package and add_cmdline_package from sack can take unicode string as argument (Jan Sil
ff2925
- tests: move TestSack out of the testing module into tests. (Ales Kozumplik)
ff2925
ff2925
* Mon Sep 30 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.2-1.git4c51f65
ff2925
- Goal: excluding and then installing results in incomprehenisble problem desc. (RhBug:995459) (Ales Kozumplik)
ff2925
- added support of cost option in repos (Jan Silhan)
ff2925
ff2925
* Mon Sep 16 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.1-1.git6f35513
ff2925
- spec file also generates python3-hawkey rpm (Jan Silhan)
ff2925
- fixed package object rich comparision (Jan Silhan)
ff2925
- Add libsolv-devel as a hard requires for hawkey-devel (Richard Hughes)
ff2925
- Python 3 bindings added (Jan Silhan)
ff2925
ff2925
* Wed Jul 31 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.0-1.git0e5506a
ff2925
- Detect the variant of armv7l. (RhBug:915269) (Ales Kozumplik)
ff2925
- add package.downloadsize and package.installsize. (Ales Kozumplik)
ff2925
ff2925
* Mon Jul 22 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.16-1.git4e79abc
ff2925
- Correctly find the installed package when looking for updates (Richard Hughes)
ff2925
- Change the hy_package_get_update_severity() API to return an enum value (Richard Hughes)
ff2925
- Do not enforce all repos load all kinds of specified metadata (Richard Hughes)
ff2925
- Fix a tiny memory leak introduced in 68ebca4a80aec636d30a9fd4fb9aa2d9bf9a8eca (Richard Hughes)
ff2925
- Add methods to get details about package updates (Richard Hughes)
ff2925
- Add updateinfo support to hawkey, using the existing parser in libsolv (Richard Hughes)
ff2925
- Do not count updates when counting the number of packages in a sack (Richard Hughes)
ff2925
ff2925
* Wed Jul 17 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.15-1.git996cd40
ff2925
- py: fix memory leak in sack-py.c:new_package (Ales Kozumplik)
ff2925
- rebuild the package, the previous version does not correspond to an existing commit.
ff2925
ff2925
* Mon Jun 24 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.14-1.git78b3aa0
ff2925
- tests: test_get_files(): test against a package with files outside /usr/bin and /etc. (Ales Kozumplik)
ff2925
- py: simplify exception throwing in load_system_repo(). (Ales Kozumplik)
ff2925
- Install stringarray.h so client programs can use hy_stringarray_free() (Richard Hughes)
ff2925
- py: bindings for package.files. (Ales Kozumplik)
ff2925
- add hy_package_get_files. (Ales Kozumplik)
ff2925
- Fix three trivial comment mis-spellings (Richard Hughes)
ff2925
- Set required python version to 2 (Richard Hughes)
ff2925
- Add a HY_VERSION_CHECK macro (Richard Hughes)
ff2925
- packaging: add license information to every file. (Ales Kozumplik)
ff2925
- py: add 'installed' property to hawkey.Package (Panu Matilainen)
ff2925
- tests: add test-case for hy_package_installed() (Panu Matilainen)
ff2925
- Add .baseurl getter to Python and C APIs. (Zdenek Pavlas)
ff2925
- tests: fix a memory leak revealed by libsolv commit 0804020. (Ales Kozumplik)
ff2925
- Return the installed size for installed packages in hy_package_get_size() (Panu Matilainen)
ff2925
- Add a function for determining whether HyPackage is installed or not (Panu Matilainen)
ff2925
ff2925
* Mon May 27 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.13-2.git15db39f
ff2925
- goal: running the same Goal instance twice or more. (Ales Kozumplik)
ff2925
- sack._knows can now determine if a particular 'name-version' sounds familiar. (Ales Kozumplik)
ff2925
- Goal: do not set the 'keepexplicitobsoletes' flag. (Ales Kozumplik)
ff2925
- tests: fixtures for upgrade_all() with installonly packages. (Ales Kozumplik)
ff2925
ff2925
* Mon May 13 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.12-1.git60cc1cc
ff2925
- goal: fix assertions about the job queue when translating selectors. (Ales Kozumplik)
ff2925
- SOLVER_NOOBSOLETES is SOLVER_MULTIVERSION. (Ales Kozumplik)
ff2925
- goal: testing number of requests and presence of certain kinds of requests. (Ales Kozumplik)
ff2925
ff2925
* Thu May 2 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.11-1.gitffe0dac
ff2925
- obsoletes: do not report obsoleted packages in hy_goal_list_erasures(). (Ales Kozumplik)
ff2925
- rename: goal: list_obsoletes -> list_obsoleted. (Ales Kozumplik)
ff2925
- rename: hy_goal_package_all_obsoletes() -> hy_goal_list_obsoleted_by_package(). (Ales Kozumplik)
ff2925
- apichange: remove: hy_goal_package_obsoletes(). (Ales Kozumplik)
ff2925
- tests: simplify test_goal_upgrade_all() somehwat. (Ales Kozumplik)
ff2925
- goal: add ability to list all of the package's and transaction's obsoletes. (Ales Kozumplik)
ff2925
- py: allow directly comparing NEVRAs by their EVRs. (RhBug:953203) (Ales Kozumplik)
ff2925
- add hy_sack_evr_cmp(). (Ales Kozumplik)
ff2925
- py: fix SIGSEGV in unchecked hy_goal_describe_problem() call. (Ales Kozumplik)
ff2925
- doc: update the Tutorial for the current version of the API. (Ales Kozumplik)
ff2925
- subject parsing: recognize "pyton-hawkey" is a name in "python-hawkey-0.3.10". (Ales Kozumplik)
ff2925
ff2925
* Mon Apr 8 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.10-1.git1d51b83
ff2925
- hy_goal_write_debugdata() (Ales Kozumplik)
ff2925
ff2925
* Wed Mar 20 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.9-1.gitc0c16c0
ff2925
- refactoring: hy_sack_get_cache_path -> hy_sack_get_cache_dir. (Ales Kozumplik)
ff2925
- hy_sack_create() now accepts a flag to disable automatic cachedir creation. (Ales Kozumplik)
ff2925
- fix crashes when the logfile can not be initialized. (Ales Kozumplik)
ff2925
ff2925
* Fri Mar 1 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.8-1.git046ab1c
ff2925
- py: expose Subject.pattern (Ales Kozumplik)
ff2925
- doc: added the rootdir parameter to hy_sack_create(). (Ales Kozumplik)
ff2925
- sack: allow specifying a different rootdir (AKA "installroot") (Ales Kozumplik)
ff2925
- Forms recognized by ``Subject`` are no longer an instance-scope setting. (RhBug:903687) (Ales Kozumplik)
ff2925
ff2925
* Mon Feb 11 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.7-2.gitdd10ac7
ff2925
- Selector: allow constraining by version only (without the release). (Ales Kozumplik)
ff2925
- python: reldep_repr() outputs a valid number. (Ales Kozumplik)
ff2925
- Add pkg.conflicts and pkg.provides. (RhBug:908406) (Ales Kozumplik)
ff2925
- hy_query_filter_requires() internally converts to a reldep. (Ales Kozumplik)
ff2925
- support filtering by 'obsoletes' and 'conflicts' reldeps. (RhBug:908372) (Ales Kozumplik)
ff2925
- allow filtering by requires with reldeps. (RhBug:908372) (Ales Kozumplik)
ff2925
- py: Query.filter() returns instance of the same type as the original query. (Ales Kozumplik)
ff2925
- sack_knows() does case-insensitive matching too (pricey yet needed). (Ales Kozumplik)
ff2925
- subject: best shot at 'some-lib-devel' is not that EVR is 'lib-devel'. (RhBug:903687) (Ales Kozumplik)
ff2925
ff2925
* Wed Jan 30 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.6-2.gita53a6b1
ff2925
- subject: best shot at 'some-lib-devel' is not that EVR is 'lib-devel'. (Ales Kozumplik)
ff2925
- cosmetic: put HY_PKG_LOCATION into the lists alphabetically. (Ales Kozumplik)
ff2925
- New key HY_PKG_LOCATION for query (Tomas Mlcoch)
ff2925
- querying for upgrades: do not include arbitrary arch changes. (Ales Kozumplik)
ff2925
ff2925
* Fri Jan 18 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.6-1.gitc8365fa
ff2925
- excludes: Query respects the exclude list. (related RhBug:884617)
ff2925
- excludes: apply excludes in Goal. (related RhBug:884617)
ff2925
- goal: support forcebest flag. (related RhBug:882211)
ff2925
- disabling/enabling entire repositories.
ff2925
- selector: preview possibly matched packages with hy_selector_matches(). (related RhBug:882851)
ff2925
ff2925
* Thu Jan 3 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.5-3.gitf981c48
ff2925
- Rebuild with proper git revision.
ff2925
ff2925
* Fri Dec 21 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.5-1.gitd735540
ff2925
- Move to libsolv-0.2.3 (suit minor API change there)
ff2925
ff2925
* Mon Dec 17 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.4-1.gitb3fcf21
ff2925
- Subject: infrastructure for discovering NEVRA explanations of what user's input meant.
ff2925
- fix: cloning an evaluated Query should copy the result set too.
ff2925
- Reldeps: creating custom-specified reldeps (name, evr).
ff2925
- Goal: accept a selector targeting a provide.
ff2925
- delete goal_internal.h, not needed.
ff2925
- Goal: give the solver SOLVER_FLAG_ALLOW_VENDORCHANGE (RhBug:885646)
ff2925
- fix crash when hash for an invalid Reldep is requested.
ff2925
ff2925
* Mon Nov 26 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.3-1.git4e41b7f
ff2925
- Python: improve Query result caching (uses the C facility now).
ff2925
- packageset: add internal function for getting elements with a hint.
ff2925
- Python, performance: Query.run() internally uses a set for the results instead of a list.
ff2925
- Query: fix selecting upgrades for packages of changing architecture.
ff2925
- Goal: add upgrade_to_selector() (EVR specs in selectors)
ff2925
- checksums: do not assert() when the pkg hasn't got the asked checksum. (RhBug:878823)
ff2925
- API change: rename: hy_package_get_nvra() -> hy_package_get_nevra().
ff2925
- Goal: support distupgrade of all packages.
ff2925
ff2925
* Thu Nov 15 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.2-1.gite883549
ff2925
- fix: hy_package_cmp() shouldn't compare packages of different arch equal.
ff2925
- Goal: support reinstalls.
ff2925
ff2925
* Thu Nov 8 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.1-2.git6f9df85
ff2925
- py: add __all__ to the hawkey module.
ff2925
- API cleanup: give checksumming functions the 'hy_' prefix.
ff2925
- Add HyPackageSet.
ff2925
- Make hy_query_filter_package_in() general enough to handle the relations too.
ff2925
- Py: filter by relation and a set of target packages.
ff2925
- remove: hy_query_filter_obsoleting().
ff2925
- query: implement an empty Query filter.
ff2925
- Add the reldep objects, reldep containers, and hy_package_get_requires(). (RhBug:847006)
ff2925
- Query: filter provides by reldeps. (RhBug:847006)
ff2925
- cleanup header files inclusions.
ff2925
- py: fix memory leak package_str().
ff2925
- hy_package_get_obsoletes().
ff2925
- Query: filter with ORed reldep lists.
ff2925
ff2925
* Wed Oct 17 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.0-1.gitafa7717
ff2925
- API change: Query: repo filter is called REPONAME now, now just REPO.
ff2925
- python: isinstance check for hawkey.Package fails for package objects.
ff2925
- Simplification of archive script (tmlcoch)
ff2925
- API change: hy_repo_create() now takes the repo name as a parameter.
ff2925
- API change: Use Selector for what used to be "Query installs".
ff2925
- py: use general keyword arguments to Goal.install() etc. to construct a Selector.
ff2925
- goal: improve error reporting when Goal failed/was not executed.
ff2925
- selectors: glob matching the package name.
ff2925
ff2925
* Fri Oct 5 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.12-2.git7fa7aa9
ff2925
- fix sigsegv in query.c:filter_sourcerpm().
ff2925
- doc: move the hawkey reference to man section 3.
ff2925
- query: filter by description or URL.
ff2925
- fix: FOR_PACKAGELIST(pkg,list,i) offsets the 'i' by one.
ff2925
- Query: hy_query_filter_package_in() limits filtering to an arbitrary set of pkgs.
ff2925
- Query: filtering by epoch.
ff2925
- py: Query: make sure filterm() clears the result cache.
ff2925
- py: fix: memory leaks with PySequence_GetItem().
ff2925
ff2925
* Sat Sep 22 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.11-4.git687ceab
ff2925
- py: hawkey.test should not depend on libcheck.so.
ff2925
ff2925
* Fri Sep 21 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.11-1.git545a461
ff2925
- py: Goal.run_all() returns True if a solution was found. (RhBug: 856615)
ff2925
- py: Goal.run() accepts callback parameter too. (RhBug: 856615)
ff2925
- query: filtering by version and release. (RhBug: 856612)
ff2925
- Flag an error if Sack is created with an invalid arch. (RhBug: 857944)
ff2925
- fix hy_get_sourcerpm() when the package has no sourcerpm. (RhBug: 858207)
ff2925
- Query: filter by source rpm. (RhBug: 857941)
ff2925
- Run 'make check' when building the RPM.
ff2925
ff2925
* Mon Sep 10 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.10-2.gita198dea
ff2925
- Fix build that now needs python-sphinx.
ff2925
ff2925
* Thu Aug 30 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.10-1.gita198dea
ff2925
- Query cloning.
ff2925
- Query: full version filtery is supported now.
ff2925
- py: query.filter() now returns a cloned Query.
ff2925
- py: len(query) and bool(query) now work as expected.
ff2925
ff2925
* Thu Aug 23 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.9-2.gitefeb04c
ff2925
- Add manpage.
ff2925
ff2925
* Thu Aug 23 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.9-1.git8599c55
ff2925
- Finding all solutions in Goal.
ff2925
- hy_goal_reason() no longer depends on Fedora-specific hacks in libsolv.
ff2925
- hy_package_get_sourcerpm()
ff2925
ff2925
* Mon Aug 6 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.8-1.gite6734fb
ff2925
- repo loading API changed, hy_sack_load_yum_repo() now accepts flags to build
ff2925
  cache, load filelists, etc.
ff2925
- fixed 843487: hawkey query.filter() ends with assertion.
ff2925
ff2925
* Tue Jul 24 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.7-1.git41b39ba
ff2925
- Package description, license, url support.
ff2925
- python: Unicode fixes in Query.
ff2925
ff2925
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-3.gitea88ad5
ff2925
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ff2925
ff2925
* Mon Jul 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-2.gitea88ad5
ff2925
- HY_CLEAN_DEPS support.
ff2925
ff2925
* Mon Jul 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-1.git76a5b8c
ff2925
- Use libsolv-0.0.0-13.
ff2925
- hy_goal_get_reason().
ff2925
ff2925
* Sun Jul 1 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.5-1.git042738b
ff2925
- Use libsolv-0.0.0-12.
ff2925
- Added hy_package_get_hdr_checkum().
ff2925
ff2925
* Mon Jun 25 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-8.git04ecf00
ff2925
- More package review issues.
ff2925
ff2925
* Fri Jun 22 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-7.git04ecf00
ff2925
- More package review issues.
ff2925
ff2925
* Wed Jun 20 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-6.git04ecf00
ff2925
- Prevent requires in the hawkey.test .so.
ff2925
ff2925
* Tue Jun 19 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-5.git04ecf00
ff2925
- Fix rpmlint issues.
ff2925
ff2925
* Wed Jun 13 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-4.git04ecf00{?dist}
ff2925
- Downgrades.
ff2925
ff2925
* Fri Jun 8 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-2.git1f198aa{?dist}
ff2925
- Handling presto metadata.
ff2925
ff2925
* Wed May 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.3-1.git6083b79{?dist}
ff2925
- Support libsolv's SOLVER_FLAGS_ALLOW_UNINSTALL.
ff2925
ff2925
* Mon May 14 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.2-1.git46bc9ec{?dist}
ff2925
- Api cleanups.
ff2925
ff2925
* Fri May 4 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.1-1.gita59de8c0{?dist}
ff2925
- Goal.update() takes flags to skip checking a pkg is installed.
ff2925
ff2925
* Tue Apr 24 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.0-4.gita7fafb2%{?dist}
ff2925
- hy_query_filter_in()
ff2925
- Better unit test support.
ff2925
ff2925
* Thu Apr 12 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.1-6.git0e6805c%{?dist}
ff2925
- Initial package.