libdnf (0.73.2-1) unstable; urgency=medium
authorLuca Boccassi <bluca@debian.org>
Sat, 29 Jun 2024 19:38:56 +0000 (20:38 +0100)
committerLuca Boccassi <bluca@debian.org>
Sat, 29 Jun 2024 19:38:56 +0000 (20:38 +0100)
  * Update upstream source from tag 'upstream/0.73.2'

[dgit import unpatched libdnf 0.73.2-1]

35 files changed:
1  2 
debian/changelog
debian/clean
debian/control
debian/copyright
debian/gbp.conf
debian/libdnf-dev.install
debian/libdnf-dev.manpages
debian/libdnf-doc.docs
debian/libdnf-doc.install
debian/libdnf-doc.links
debian/libdnf2-common.install
debian/libdnf2t64.install
debian/libdnf2t64.lintian-overrides
debian/libdnf2t64.shlibs
debian/patches/0001-CMakeLists.txt-append-libsolv-cmake-path.patch
debian/patches/0002-Use-static-libcheck-version.patch
debian/patches/0003-Set-the-default-disttype-to-RPM.patch
debian/patches/0004-Enable-implicitobsoleteusescolors-flag.patch
debian/patches/0007-Support-Debian-releases-without-explicit-version.patch
debian/patches/0008-Workaround-hawkey-test-failures-with-CK_FORK-no.patch
debian/patches/0009-Use-private-scols_cell_get_alignment-with-older-libs.patch
debian/patches/0011-Set-CMAKE_SKIP_RPATH-to-TRUE.patch
debian/patches/0012-data-workaround-for-hardcoded-absolute-path-data-in-.patch
debian/patches/0013-python-tests-fix-locale-issues.patch
debian/patches/0014-css-utf8.patch
debian/patches/series
debian/python3-hawkey-doc.docs
debian/python3-hawkey-doc.links
debian/python3-hawkey.install
debian/python3-libdnf.install
debian/rules
debian/source/format
debian/source/options
debian/upstream/metadata
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ba5bd260d54780dd2a57a8b469d4d69acec668e6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,137 @@@
++libdnf (0.73.2-1) unstable; urgency=medium
++
++  * Update upstream source from tag 'upstream/0.73.2'
++
++ -- Luca Boccassi <bluca@debian.org>  Sat, 29 Jun 2024 20:38:56 +0100
++
++libdnf (0.73.1-3) unstable; urgency=medium
++
++  * Remove workaround for dh_python3 regression, fixed in latest upload
++  * Drop patch to use rpmdb in home, no longer needed
++
++ -- Luca Boccassi <bluca@debian.org>  Mon, 06 May 2024 20:29:03 +0100
++
++libdnf (0.73.1-2) unstable; urgency=medium
++
++  * Add workaround for dh_python3 regression that wrongly renames cpython
++    module
++
++ -- Luca Boccassi <bluca@debian.org>  Sat, 20 Apr 2024 20:17:09 +0100
++
++libdnf (0.73.1-1) unstable; urgency=medium
++
++  * Switch to git-buildpackage workflow
++  * Update upstream source from tag 'upstream/0.73.1'
++  * Drop 0006-Add-rpmdb-in-home-directory-to-checksum-and-DNF-cont.patch,
++    no longer needed
++  * Refresh patches for new version
++  * Bump dependency on librepo-dev to 1.15.0
++  * Bump dependency on rpm to 4.15.0
++  * Bump dependency on modulemd to 2.11.2
++  * python3-libdnf: install python metadata too
++  * Drop dh_missing from d/rules, it's default in compat 13
++  * Drop dependency on python3-nose, deprecated (Closes: #1018395)
++  * Drop transitional libdnf1 package (Closes: #1038262)
++  * python3-hawkey-doc: add dependencies on libjs-jquery and libjs-
++    underscore (Closes: #988770)
++  * Add d/clean to remove leftover doc files (Closes: #1045949)
++  * 0013-python-tests-fix-locale-issues.patch: do not create
++    python/hawkey/tests/tests/__init__.py
++  * Use a patch instead of manually mangling source file (Closes: #1045949)
++  * Switch to pkgconf
++  * Set Rules-Requires-Root: no
++  * Switch to dh-sequence-python3
++  * Enable ELF metadata stamping
++  * Bump Standards-Version to 4.7.0
++  * Move manpage to -dev package
++  * Fix typo in 0013-python-tests-fix-locale-issues.patch
++  * Drop Lintian override for python3-hawkey, no longer needed
++
++ -- Luca Boccassi <bluca@debian.org>  Mon, 15 Apr 2024 01:03:35 +0100
++
++libdnf (0.69.0-2.3) unstable; urgency=medium
++
++  * Non-maintainer upload.
++  * Rename libraries for 64-bit time_t transition.
++
++ -- Steve Langasek <vorlon@debian.org>  Wed, 31 Jan 2024 22:13:42 +0000
++
++libdnf (0.69.0-2.2) unstable; urgency=medium
++
++  * Non-maintainer upload.
++  * Use mkdir -p in override_dh_auto_test to fix FTBFS on buildds
++
++ -- Luca Boccassi <bluca@debian.org>  Fri, 03 Nov 2023 19:22:17 +0000
++
++libdnf (0.69.0-2.1) unstable; urgency=medium
++
++  * Non-maintainer upload.
++  * Move python3 modules from /usr/lib/local/ (Closes: #1052915)
++
++ -- Luca Boccassi <bluca@debian.org>  Sun, 29 Oct 2023 15:57:28 +0000
++
++libdnf (0.69.0-2) unstable; urgency=medium
++
++  * Set myself to maintainer
++
++ -- Frédéric Pierret <frederic.pierret@qubes-os.org>  Sun, 08 Jan 2023 10:08:51 +0100
++
++libdnf (0.69.0-1) unstable; urgency=medium
++
++  * Update to libdnf-0.69.0.
++  * Update debian/control:bump debhelper-compat to 13 and update
++    Build-Depends constraints.
++  * Update debian/rules: remove reproducible flag being the default,
++    remove not needed anymore PYTHON_DESIRED from dh_auto_configure,
++    remove undeeded override of dh_install as debhelper is bumped and,
++    few cleanups.
++  * Update debian/watch: update to use tags endpoint.
++
++ -- Frédéric Pierret <frederic.pierret@qubes-os.org>  Sat, 12 Nov 2022 15:51:20 +0100
++
++libdnf (0.62.0-1) experimental; urgency=high
++
++  * Update to libdnf-0.62.0
++
++ -- Frédéric Pierret <frederic.pierret@qubes-os.org>  Wed, 14 Apr 2021 14:59:34 +0200
++
++libdnf (0.55.2-5) unstable; urgency=medium
++
++  * Team upload.
++
++  [ Marek Marczykowski-Górecki ]
++  * Use shlibs file instead of symbols.
++
++ -- Holger Levsen <holger@debian.org>  Thu, 04 Feb 2021 01:17:07 +0100
++
++libdnf (0.55.2-4) unstable; urgency=medium
++
++  * Team upload.
++  * Source upload for testing migration.
++
++ -- Holger Levsen <holger@debian.org>  Wed, 03 Feb 2021 13:05:37 +0100
++
++libdnf (0.55.2-3) unstable; urgency=medium
++
++  * debian/copyright: Update and specify copyright holders
++
++ -- Frédéric Pierret <frederic.pierret@qubes-os.org>  Tue, 02 Feb 2021 14:13:30 +0100
++
++libdnf (0.55.2-2) unstable; urgency=medium
++
++  * Update renamed lintian tag names in lintian overrides.
++  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
++    Repository-Browse.
++  * Remove listed license files (COPYING) from copyright.
++  * Remove unnecessary get-orig-source-target.
++
++ -- Frédéric Pierret <frederic.pierret@qubes-os.org>  Wed, 30 Dec 2020 09:38:25 -0000
++
++libdnf (0.55.2-1) unstable; urgency=medium
++
++  * Initial upload.
++  * libdnf, libcomps and librepo are all needed for dnf, see #978627 (ITP bug
++    for dnf) and https://github.com/QubesOS/qubes-issues/issues/5940 for more
++    details on this packaging efford.
++
++ -- Frédéric Pierret <frederic.pierret@qubes-os.org>  Sat, 26 Dec 2020 10:00:00 +0100
diff --cc debian/clean
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..79839bbb1ffb355317323a930af608e4d21d8f26
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,42 @@@
++data/tests/modules/yum.repos.d/test.repo
++debian/tests-home/
++docs/libdnf/html.stamp
++docs/libdnf/html/annotation-glossary.html
++docs/libdnf/html/home.png
++docs/libdnf/html/index.html
++docs/libdnf/html/left-insensitive.png
++docs/libdnf/html/left.png
++docs/libdnf/html/libdnf-DnfContext.html
++docs/libdnf/html/libdnf-DnfLock.html
++docs/libdnf/html/libdnf-DnfRepo.html
++docs/libdnf/html/libdnf-DnfRepoLoader.html
++docs/libdnf/html/libdnf-DnfSack.html
++docs/libdnf/html/libdnf-DnfState.html
++docs/libdnf/html/libdnf-DnfTransaction.html
++docs/libdnf/html/libdnf-dnf-goal.html
++docs/libdnf/html/libdnf-dnf-keyring.html
++docs/libdnf/html/libdnf-dnf-package.html
++docs/libdnf/html/libdnf-dnf-rpmts.html
++docs/libdnf/html/libdnf-dnf-types.html
++docs/libdnf/html/libdnf-dnf-utils.html
++docs/libdnf/html/libdnf-dnf-version.html
++docs/libdnf/html/libdnf-helpers.html
++docs/libdnf/html/libdnf.devhelp2
++docs/libdnf/html/libdnf.html
++docs/libdnf/html/right-insensitive.png
++docs/libdnf/html/right.png
++docs/libdnf/html/style.css
++docs/libdnf/html/up-insensitive.png
++docs/libdnf/html/up.png
++docs/libdnf/libdnf-decl-list.txt
++docs/libdnf/libdnf-decl.txt
++docs/libdnf/libdnf-overrides.txt
++docs/libdnf/libdnf-sections.txt
++docs/libdnf/libdnf-undeclared.txt
++docs/libdnf/libdnf-undocumented.txt
++docs/libdnf/libdnf-unused.txt
++docs/libdnf/libdnf.types
++docs/libdnf/sgml.stamp
++docs/libdnf/version.xml
++docs/libdnf/xml/
++libdnf/config-64.h
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..97a980b62b6efe6abb8cdb4c04d690fdf1a9c447
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,130 @@@
++Source: libdnf
++Section: libs
++Priority: optional
++Maintainer: RPM packaging team <team+pkg-rpm@tracker.debian.org>
++Uploaders: Frédéric Pierret <frederic.pierret@qubes-os.org>,
++           Luca Boccassi <bluca@debian.org>,
++Build-Depends: debhelper-compat (= 13),
++ dh-package-notes,
++ dh-sequence-python3,
++ python3-dev,
++ libpython3-dev,
++ cmake,
++ pkgconf,
++ libglib2.0-dev,
++ libsolv-dev (>= 0.7.14-1.1~),
++ libsolvext-dev (>= 0.7.14-1.1~),
++ libsolv-tools (>= 0.7.14-1.1~),
++ librpm-dev (>= 4.19.1.1~),
++ libzstd-dev,
++ librepo-dev (>= 1.15.0~),
++ gtk-doc-tools,
++ python3-sphinx,
++ check,
++ libgpgme-dev,
++ libssl-dev,
++ libjson-c-dev,
++ libmodulemd-dev (>= 2.11.2~),
++ libsmartcols-dev,
++ libsqlite3-dev,
++ gettext,
++ swig,
++ libcppunit-dev,
++ doxygen,
++ python3-breathe,
++ rpm-common (>= 4.19.1.1~),
++ valgrind,
++Rules-Requires-Root: no
++Standards-Version: 4.7.0
++Homepage: https://github.com/rpm-software-management/libdnf
++Vcs-Browser: https://salsa.debian.org/pkg-rpm-team/libdnf
++Vcs-Git: https://salsa.debian.org/pkg-rpm-team/libdnf.git
++#Testsuite: autopkgtest-pkg-python
++
++Package: libdnf-dev
++Section: libdevel
++Architecture: any
++Multi-Arch: same
++Depends: ${misc:Depends},
++ libdnf2t64 (= ${binary:Version}),
++ libsolv-dev (>= 0.7.14-1.1~),
++ libsolvext-dev (>= 0.7.14-1.1~),
++Breaks: gir1.2-libdnf-1.0 (<< ${binary:Version}),
++        libdnf2t64 (<< 0.73.1-1~), libdnf2 (<< 0.73.1-1~),
++Replaces: libdnf2t64 (<< 0.73.1-1~), libdnf2 (<< 0.73.1-1~),
++Description: libdnf - development files
++ A library providing simplified C and Python APIs to libsolv.
++ .
++ This package contains the development header files for the
++ libdnf library.
++
++Package: libdnf2t64
++Provides: libdnf, ${t64:Provides}
++Architecture: any
++Multi-Arch: same
++Depends: ${shlibs:Depends}, ${misc:Depends},
++ libdnf2-common (= ${source:Version}),
++Replaces: libdnf2,
++Breaks: libdnf2 (<< ${source:Version}),
++Description: libdnf - shared library
++ A library providing simplified C and Python APIs to libsolv.
++ .
++ This package provides the libdnf shared library.
++
++Package: libdnf2-common
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++Description: libdnf - common files
++ A library providing simplified C and Python APIs to libsolv.
++ .
++ This package provides common files for the libdnf library.
++
++Package: libdnf-doc
++Architecture: all
++Multi-Arch: foreign
++Section: doc
++Depends: ${misc:Depends},
++Description: Documentation for the libdnf library (common documentation)
++ A library providing simplified C and Python APIs to libsolv.
++ .
++ This package installs common documentation for the libdnf
++ C bindings.
++
++Package: python3-hawkey
++Architecture: any
++Multi-Arch: no
++Section: python
++Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends},
++ libdnf2t64 (= ${binary:Version}),
++ python3-libdnf (= ${binary:Version}),
++Provides: ${python3:Provides},
++Suggests: python3-hawkey-docs
++Description: Python bindings for the hawkey library (Python 3)
++ A library providing simplified C and Python APIs to libsolv.
++ .
++ This package installs the hawkey library for Python 3.
++
++Package: python3-hawkey-doc
++Architecture: all
++Multi-Arch: foreign
++Section: doc
++Depends: ${sphinxdoc:Depends}, ${misc:Depends},
++         libjs-jquery, libjs-underscore,
++Description: Python 3 bindings for the hawkey library (common documentation)
++ A library providing simplified C and Python APIs to libsolv.
++ .
++ This package installs common documentation for the hawkey Python
++ 3 bindings.
++
++Package: python3-libdnf
++Architecture: any
++Multi-Arch: no
++Section: python
++Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends},
++ libdnf2t64 (= ${binary:Version}),
++Provides: ${python3:Provides},
++Description: Python bindings for the libdnf library (Python 3)
++ A library providing simplified C and Python APIs to libsolv.
++ .
++ This package installs the libdnf library for Python 3.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d9980a6d9b7791d63efd31261ad05876b84a9e65
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,245 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: libdnf
++Upstream-Contact: https://github.com/rpm-software-management/libdnf/issues
++Source: https://github.com/rpm-software-management/libdnf
++
++Files: *
++Copyright: 2012-2020, Red Hat, Inc.
++License: LGPL-2.1
++
++Files: debian/*
++Copyright: 2018, 2019, Mihai Moldovan <ionic@ionic.de>
++License: GPL-2+
++
++Files: docs/hawkey/*
++Copyright: 2012-2015, Red Hat, Inc.
++License: GPL-2+
++
++Files: docs/libdnf/html/*
++Copyright: 2001-2003, Jürgen Hermann
++License: GPL-2+
++
++Files: libdnf/*
++Copyright: 2012-2020, Red Hat, Inc.
++License: LGPL-2.1+
++
++Files: libdnf/catch-error.hpp
++  libdnf/error.hpp
++Copyright: 2012-2019, Red Hat, Inc.
++License: LGPL-2.1
++
++Files: libdnf/dnf-advisory-private.hpp
++  libdnf/dnf-advisory.cpp
++  libdnf/dnf-advisory.h
++  libdnf/dnf-advisorypkg.cpp
++  libdnf/dnf-advisorypkg.h
++  libdnf/dnf-advisoryref.cpp
++  libdnf/dnf-advisoryref.h
++  libdnf/dnf-packagedelta-private.hpp
++  libdnf/dnf-packagedelta.cpp
++  libdnf/dnf-packagedelta.h
++  libdnf/dnf-sack.cpp
++  libdnf/dnf-sack.h
++  libdnf/hy-package-private.hpp
++  libdnf/hy-package.h
++  libdnf/hy-packageset.cpp
++  libdnf/hy-packageset.h
++Copyright: 2013-2015, Richard Hughes <richard@hughsie.com>
++  2012-2018, Red Hat, Inc.
++License: LGPL-2.1+
++
++Files: libdnf/dnf-context.cpp
++Copyright: 2016, Igor Gnatenko <ignatenko@redhat.com>
++  2014, 2015, Richard Hughes <richard@hughsie.com>
++License: LGPL-2.1+
++
++Files: libdnf/dnf-context.h
++  libdnf/dnf-goal.cpp
++  libdnf/dnf-goal.h
++  libdnf/dnf-keyring.cpp
++  libdnf/dnf-keyring.h
++  libdnf/dnf-lock.cpp
++  libdnf/dnf-lock.h
++  libdnf/dnf-package.cpp
++  libdnf/dnf-package.h
++  libdnf/dnf-repo-loader.cpp
++  libdnf/dnf-repo-loader.h
++  libdnf/dnf-repo.cpp
++  libdnf/dnf-repo.h
++  libdnf/dnf-rpmts.cpp
++  libdnf/dnf-rpmts.h
++  libdnf/dnf-state.cpp
++  libdnf/dnf-state.h
++  libdnf/dnf-transaction.cpp
++  libdnf/dnf-transaction.h
++  libdnf/dnf-utils.cpp
++  libdnf/dnf-utils.h
++  libdnf/dnf-version.h.in
++  libdnf/libdnf.h
++Copyright: 2008-2015, Richard Hughes <richard@hughsie.com>
++License: LGPL-2.1+
++
++Files: libdnf/dnf-enums.h
++  libdnf/libdnf.pc.in
++  libdnf/dnf-reldep-list.cpp
++  libdnf/dnf-reldep-list.h
++  libdnf/dnf-reldep.cpp
++  libdnf/dnf-reldep.h
++Copyright: 2016, Igor Gnatenko <ignatenko@redhat.com>
++License: LGPL-2.1+
++
++Files: libdnf/dnf-types.h
++Copyright: 2015, Colin Walters <walters@verbum.org>
++  2013-2015, Richard Hughes <richard@hughsie.com>
++License: LGPL-2.1+
++
++Files: libdnf/plugin/plugin-private.hpp
++  libdnf/plugin/plugin.cpp
++  libdnf/plugin/plugin.h
++Copyright: 2012-2020, Red Hat, Inc.
++License: LGPL-2.1+
++
++Files: libdnf/transaction/sql/*
++Copyright: 2012-2019, Red Hat, Inc.
++License: LGPL-2.1
++
++Files: libdnf/utils/bgettext/bgettext-common.h
++  libdnf/utils/bgettext/bgettext-lib.h
++  libdnf/utils/bgettext/bgettext.c
++  libdnf/utils/bgettext/bgettext.h
++Copyright: 2017, Jaroslav Rohel <jrohel@redhat.com>
++License: LGPL-3+
++
++Files: libdnf/utils/tinyformat/tinyformat.hpp
++Copyright: 2011, Chris Foster [chris42f (at) gmail (d0t) com]
++License: BSL-1.0
++
++Files: plugins/*
++Copyright: 2012-2020, Red Hat, Inc.
++License: LGPL-2.1+
++
++Files: python/*
++Copyright: 2012-2020, Red Hat, Inc.
++License: LGPL-2.1+
++
++Files: tests/hawkey/fixtures.cpp
++  tests/hawkey/fixtures.h
++  tests/hawkey/test_advisory.cpp
++  tests/hawkey/test_advisorypkg.cpp
++  tests/hawkey/test_advisoryref.cpp
++  tests/hawkey/test_goal.cpp
++  tests/hawkey/test_iutil.cpp
++  tests/hawkey/test_main.cpp
++  tests/hawkey/test_package.cpp
++  tests/hawkey/test_packagelist.cpp
++  tests/hawkey/test_packageset.cpp
++  tests/hawkey/test_query.cpp
++  tests/hawkey/test_reldep.cpp
++  tests/hawkey/test_repo.cpp
++  tests/hawkey/test_sack.cpp
++  tests/hawkey/test_selector.cpp
++  tests/hawkey/test_subject.cpp
++  tests/hawkey/test_suites.h
++  tests/hawkey/test_util.cpp
++  tests/hawkey/testshared.cpp
++  tests/hawkey/testshared.h
++  tests/hawkey/testsys.cpp
++  tests/hawkey/testsys.h
++Copyright: 2012-2020, Red Hat, Inc.
++License: LGPL-2.1+
++
++Files: tests/libdnf/dnf-self-test.c
++Copyright: 2008-2015, Richard Hughes <richard@hughsie.com>
++License: LGPL-2.1+
++
++License: BSL-1.0
++ Permission is hereby granted, free of charge, to any person or organization
++ obtaining a copy of the software and accompanying documentation covered by
++ this license (the "Software") to use, reproduce, display, distribute,
++ execute, and transmit the Software, and to prepare derivative works of the
++ Software, and to permit third-parties to whom the Software is furnished to
++ do so, all subject to the following:
++ .
++ The copyright notices in the Software and this entire statement, including
++ the above license grant, this restriction and the following disclaimer,
++ must be included in all copies of the Software, in whole or in part, and
++ all derivative works of the Software, unless such copies or derivative
++ works are solely in the form of machine-executable object code generated by
++ a source language processor.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
++ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
++ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
++ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
++ DEALINGS IN THE SOFTWARE.
++
++License: GPL-2+
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 2 of the License, or
++ (at your option) any later version.
++ .
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License along
++ with this program; if not, write to the Free Software Foundation, Inc.,
++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
++ .
++ On Debian systems, the complete text of the GNU General Public
++ License v2 can be found in `/usr/share/common-licenses/GPL-2'.
++
++License: LGPL-2.1
++ This package is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License version 2.1 as published by the Free Software Foundation.
++ .
++ This package is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Lesser General Public License for more details.
++ .
++ You should have received a copy of the GNU Lesser General Public License
++ along with this program. If not, see <https://www.gnu.org/licenses/>.
++ .
++ On Debian systems, the complete text of the GNU Lesser General
++ Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
++
++License: LGPL-2.1+
++ This package is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License as published by the Free Software Foundation; either
++ version 2 of the License, or (at your option) any later version.
++ .
++ This package is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Lesser General Public License for more details.
++ .
++ You should have received a copy of the GNU Lesser General Public License
++ along with this program. If not, see <https://www.gnu.org/licenses/>.
++ .
++ On Debian systems, the complete text of the GNU Lesser General Public
++ License can be found in /usr/share/common-licenses/LGPL-2.1.
++
++License: LGPL-3+
++ This package is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public License as
++ published by the Free Software Foundation; either version 3 of the License, or
++ (at your option) any later version.
++ .
++ This package is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Lesser General Public License for more details.
++ .
++ You should have received a copy of the GNU Lesser General Public
++ License along with this package; if not, write to the Free Software
++ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
++ .
++ On Debian systems, the complete text of the GNU Lesser General
++ Public License can be found in `/usr/share/common-licenses/LGPL-3'.
diff --cc debian/gbp.conf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f7ff1ffb2292bfb50d6648228c6cc3802a07cae8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,11 @@@
++[DEFAULT]
++debian-branch = debian/sid
++upstream-branch = upstream
++pristine-tar = True
++sign-tags = True
++
++[import-orig]
++upstream-vcs-tag = %(version)s
++
++[dch]
++git-log = --first-parent
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..399b33a1e459eff9cdf30fcb898d6f76da40fc92
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++usr/include/libdnf
++usr/lib/*/libdnf.so
++usr/lib/*/pkgconfig/libdnf.pc
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fa37b9011ff8ad21f603a1e21c6e8ca134682bb9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/man/man3/hawkey.3
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0b6e0f3219b8b17db3ce29ab6794fcf656bfaaa8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++AUTHORS
++README.md
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..986dd64be02d36757f2ef7cd095212f50dbaa0d4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/gtk-doc/html/libdnf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7fa3691c018fc5b023770c16ed5c0298186b90f8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/gtk-doc/html/libdnf usr/share/doc/libdnf-doc/libdnf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..afb58695767af4cbea90b67bba5841170c06e1a2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/locale/*/*/libdnf.mo
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c42c02c71f5950357b22f596925cd4d61b684009
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/lib/*/libdnf.so.*
++usr/lib/*/libdnf/plugins/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8597c655af4a8badbc268fe6ad9cb96f3e03813d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++# File actually describes the directory's purpose.
++libdnf2t64: package-contains-documentation-outside-usr-share-doc
++libdnf2t64: package-name-doesnt-match-sonames libdnf2
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..21687a6563ac27e36e472fc379bd91dea5b35032
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++libdnf 2 libdnf2t64 (>= 0.55.2)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c7cf647e700cd9d19e489ef22e6ae6c068238d0c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,26 @@@
++From 90643bd524891456e546fa08836eb61eb99b57a4 Mon Sep 17 00:00:00 2001
++From: Mihai Moldovan <ionic@ionic.de>
++Date: Tue, 29 Sep 2020 18:30:16 +0200
++Subject: [PATCH] CMakeLists.txt: append libsolv cmake path
++
++Make sure cmake finds FindLibSolv.cmake installed
++in ${CMAKE_INSTALL_PREFIX}/share/cmake/libsolv.
++---
++ CMakeLists.txt | 1 +
++ 1 file changed, 1 insertion(+)
++
++diff --git a/CMakeLists.txt b/CMakeLists.txt
++index 2dd55c57..00ab52f7 100644
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -46,6 +46,7 @@ if(APPLE)
++     set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH};/usr/local/share/cmake/Modules/)
++     include_directories(/usr/local/include)
++ endif()
+++LIST (APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/share/cmake/libsolv/")
++ 
++ 
++ # build dependencies
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8b7e7e5ae25247da36872728c93df0fde50e0d24
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,27 @@@
++From 1b86fcaf2966f098256f6bb044dfa5a5a43ed96b Mon Sep 17 00:00:00 2001
++From: Mihai Moldovan <ionic@ionic.de>
++Date: Tue, 29 Sep 2020 18:30:16 +0200
++Subject: [PATCH] Use static libcheck version.
++
++Within Debian, only the static libcheck library is shipped. Use it correctly,
++since the static library requires additional private libraries and definitions.
++---
++ tests/hawkey/CMakeLists.txt | 2 ++
++ 1 file changed, 2 insertions(+)
++
++diff --git a/tests/hawkey/CMakeLists.txt b/tests/hawkey/CMakeLists.txt
++index 29402d63..601bb4bc 100644
++--- a/tests/hawkey/CMakeLists.txt
+++++ b/tests/hawkey/CMakeLists.txt
++@@ -29,6 +29,8 @@ set_target_properties(test_hawkey_main PROPERTIES COMPILE_FLAGS -fPIC)
++ target_link_libraries(test_hawkey_main
++     libdnf
++     ${CHECK_LDFLAGS}
+++    ${CHECK_STATIC_LIBRARIES}
+++    ${CHECK_STATIC_LDFLAGS}
++     ${SOLV_LIBRARY}
++     ${SOLVEXT_LIBRARY}
++     ${RPMDB_LIBRARY}
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..749dde42c1023f24ea986bdc7a06473968ed775f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,46 @@@
++From 7339ac2f41639afbfb4c1627e8883629fdb0f097 Mon Sep 17 00:00:00 2001
++From: Mihai Moldovan <ionic@ionic.de>
++Date: Tue, 29 Sep 2020 18:30:16 +0200
++Subject: [PATCH] Set the default disttype to RPM.
++
++On "foreign" systems, including Debian, libsolv tries to be smart and default
++to the native packaging system type. We need to explicitly override it to use
++RPM for dnf to work.
++---
++ libdnf/dnf-sack.cpp         | 1 +
++ tests/hawkey/test_iutil.cpp | 7 +++++++
++ 2 files changed, 8 insertions(+)
++
++diff --git a/libdnf/dnf-sack.cpp b/libdnf/dnf-sack.cpp
++index 6a43f01e..36f4a92b 100644
++--- a/libdnf/dnf-sack.cpp
+++++ b/libdnf/dnf-sack.cpp
++@@ -186,6 +186,7 @@ dnf_sack_init(DnfSack *sack)
++     DnfSackPrivate *priv = GET_PRIVATE(sack);
++     priv->pool = pool_create();
++     pool_set_flag(priv->pool, POOL_FLAG_WHATPROVIDESWITHDISABLED, 1);
+++    pool_setdisttype(priv->pool, DISTTYPE_RPM);
++     priv->running_kernel_id = -1;
++     priv->running_kernel_fn = running_kernel;
++     priv->considered_uptodate = TRUE;
++diff --git a/tests/hawkey/test_iutil.cpp b/tests/hawkey/test_iutil.cpp
++index 8d00cc94..0ca12800 100644
++--- a/tests/hawkey/test_iutil.cpp
+++++ b/tests/hawkey/test_iutil.cpp
++@@ -150,6 +150,13 @@ END_TEST
++ START_TEST(test_version_split)
++ {
++     Pool *pool = pool_create();
+++
+++    /*
+++     * On "foreign" systems, the disttype will
+++     * not default to RPM. Set this explicitly.
+++     */
+++    fail_if(-1 == pool_setdisttype(pool, DISTTYPE_RPM));
+++
++     char evr[] = "1:5.9.3-8";
++     char *epoch, *version, *release;
++ 
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9c87e8e3bef07c0551b5351ac0b84f9e61558cc7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,49 @@@
++From 7cba1b05a5647ce0e3d8aa763705fd21e9f4e79f Mon Sep 17 00:00:00 2001
++From: Mihai Moldovan <ionic@ionic.de>
++Date: Tue, 29 Sep 2020 18:30:16 +0200
++Subject: [PATCH] Enable implicitobsoleteusescolors flag.
++
++This flag is normally enabled by default in libsolv if compiled on Fedora or
++Mageia systems, but disabled for all others. Since we explicitly want to
++support Fedora (and CentOS/RHEL) repositories with DNF, enable this feature for
++correct resolution.
++---
++ libdnf/dnf-sack.cpp         | 1 +
++ tests/hawkey/test_iutil.cpp | 9 +++++++++
++ 2 files changed, 10 insertions(+)
++
++diff --git a/libdnf/dnf-sack.cpp b/libdnf/dnf-sack.cpp
++index 36f4a92b..2384fccb 100644
++--- a/libdnf/dnf-sack.cpp
+++++ b/libdnf/dnf-sack.cpp
++@@ -187,6 +187,7 @@ dnf_sack_init(DnfSack *sack)
++     priv->pool = pool_create();
++     pool_set_flag(priv->pool, POOL_FLAG_WHATPROVIDESWITHDISABLED, 1);
++     pool_setdisttype(priv->pool, DISTTYPE_RPM);
+++    pool_set_flag(priv->pool, POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS, 1);
++     priv->running_kernel_id = -1;
++     priv->running_kernel_fn = running_kernel;
++     priv->considered_uptodate = TRUE;
++diff --git a/tests/hawkey/test_iutil.cpp b/tests/hawkey/test_iutil.cpp
++index 0ca12800..8ce75bfb 100644
++--- a/tests/hawkey/test_iutil.cpp
+++++ b/tests/hawkey/test_iutil.cpp
++@@ -157,6 +157,15 @@ START_TEST(test_version_split)
++      */
++     fail_if(-1 == pool_setdisttype(pool, DISTTYPE_RPM));
++ 
+++    /*
+++     * On "foreign" systems, the implicitobsoleteusescolors
+++     * flag is turned off by default.
+++     * This leads to unexpected results when working with
+++     * Fedora, Mageia or CentOS repositories, so enable it
+++     * forcefully.
+++     */
+++    pool_set_flag(pool, POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS, 1);
+++
++     char evr[] = "1:5.9.3-8";
++     char *epoch, *version, *release;
++ 
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ef6c16d7c6b656f22f7efa2a06e00db94d234b8f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,72 @@@
++From b1aef4a9d4d5c51fc1d92d12fcc4ddd6fa94d31f Mon Sep 17 00:00:00 2001
++From: Mihai Moldovan <ionic@ionic.de>
++Date: Tue, 29 Sep 2020 18:30:16 +0200
++Subject: [PATCH] Support Debian releases without explicit version.
++
++On Debian, some series have no version. Most notably testing, unstable and
++experimental.
++
++We have to take this into account, because a missing VERSION_ID tag leads to
++test case failures (bad) and DNF context setup failures (much worse).
++
++Fake the version in such a case.
++---
++ libdnf/dnf-context.cpp | 42 +++++++++++++++++++++++++++++++++++++++---
++ 1 file changed, 39 insertions(+), 3 deletions(-)
++
++diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp
++index 598bff9c..aaa796db 100644
++--- a/libdnf/dnf-context.cpp
+++++ b/libdnf/dnf-context.cpp
++@@ -1666,9 +1666,45 @@ dnf_context_set_os_release(DnfContext *context, GError **error) try
++                                                  "os-release",
++                                                  "VERSION_ID",
++                                                  error);
++-    if (maybe_quoted_version == NULL)
++-        return FALSE;
++-    version = g_shell_unquote(maybe_quoted_version, error);
+++    if (maybe_quoted_version == NULL) {
+++        /*
+++         * On Debian, some series have no version.
+++         * Most notably testing, unstable and experimental.
+++         *
+++         * Fake the version in such a case.
+++         * We do not really care a lot about this, since
+++         * we're not using DNF in actual Debian contexts,
+++         * but make sure that test cases do not fail.
+++         */
+++        g_autofree gchar *maybe_quoted_id = NULL;
+++        maybe_quoted_id = g_key_file_get_string(key_file,
+++                                                "os-release",
+++                                                "ID",
+++                                                error);
+++        if (!maybe_quoted_id) {
+++            return FALSE;
+++        }
+++
+++        g_autofree gchar *id = g_shell_unquote(maybe_quoted_id, error);
+++
+++        if (0 != g_ascii_strncasecmp(id, "debian", strlen("debian"))) {
+++            /* Better fail non-Debian plattforms... */
+++            return FALSE;
+++        }
+++
+++        /*
+++         * Distinguishing testing and unstable via the os-release file(s)
+++         * is not possible. Using lsb-release would work (as long as it
+++         * exists), but requires additional parsing and is overkill.
+++         * Just assign a fake version number that is higher than any
+++         * existing one.
+++         */
+++        version = g_strdup("999");
+++        g_clear_error(error);
+++    }
+++    else {
+++        version = g_shell_unquote(maybe_quoted_version, error);
+++    }
++     if (!version)
++         return FALSE;
++     dnf_context_set_release_ver(context, version);
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cacd4da2cfa66c40ab15cbad1a7f01c7fea86058
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,46 @@@
++From ac422a0b38f9396483cd58113074c6db2795e276 Mon Sep 17 00:00:00 2001
++From: Mihai Moldovan <ionic@ionic.de>
++Date: Tue, 29 Sep 2020 18:30:16 +0200
++Subject: [PATCH] Workaround hawkey test failures with CK_FORK=no.
++
++For a description of what is happening here and a rational of why this might
++just be okay for us, see the source code comment.
++---
++ tests/hawkey/test_goal.cpp | 21 +++++++++++++++++++++
++ 1 file changed, 21 insertions(+)
++
++diff --git a/tests/hawkey/test_goal.cpp b/tests/hawkey/test_goal.cpp
++index cca12775..0c4db99c 100644
++--- a/tests/hawkey/test_goal.cpp
+++++ b/tests/hawkey/test_goal.cpp
++@@ -950,6 +950,27 @@ START_TEST(test_goal_upgrade_disabled_repo)
++     auto pool = dnf_sack_get_pool(test_globals.sack);
++     HyGoal goal = hy_goal_create(sack);
++ 
+++    /*
+++     * This is probably the weirdest workaround ever, but this test case fails
+++     * with CK_FORK=no (which is used in the valgrind tests) for an unknown
+++     * reason I wasn't able to figure out.
+++     * However, just querying the sack, which should be a read-only operation,
+++     * seems to remedy this problem.
+++     * Since the failure doesn't happen with CK_FORK=yes, whatever is causing
+++     * it is likely not a problem in libdnf/hawkey or the libsolv integration,
+++     * but rather some sort of... stack or heap corruption? Or a side-effect
+++     * of libcheck?
+++     * Given that rationale, it's probably okay to mask the problem with this
+++     * very weird workaround.
+++     */
+++    HyQuery q = hy_query_create (sack);
+++    hy_query_filter (q, HY_PKG_REPONAME, HY_EQ, HY_SYSTEM_REPO_NAME);
+++    GPtrArray *res = hy_query_run (q);
+++    g_ptr_array_unref (res);
+++    res = NULL;
+++    hy_query_free (q);
+++    q = NULL;
+++
++     hy_goal_upgrade_all(goal);
++     hy_goal_run_flags(goal, DNF_NONE);
++     int implicitobsoleteusescolors = pool_get_flag(pool, POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS);
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..559cac9149f686d05d38a465f8a06a39bd2dfe77
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,36 @@@
++From c98b33ca589a1d5c609b1c2ea6b7d1f75844664b Mon Sep 17 00:00:00 2001
++From: Mihai Moldovan <ionic@ionic.de>
++Date: Tue, 29 Sep 2020 18:30:16 +0200
++Subject: [PATCH] Use private scols_cell_get_alignment() with older
++ libsmartcols
++
++Stretch's version of libsmartcols includes the (binary) symbol, but does not
++export it via its API, probably to make the intermediate release
++API-compatible.
++
++libdnf needs it, so we'll just declare the function and hope that linking will
++be able to pick it up just fine.
++
++For newer versions, that should just turn into a comment.
++---
++ libdnf/utils/smartcols/Cell.hpp | 4 ++++
++ 1 file changed, 4 insertions(+)
++
++diff --git a/libdnf/utils/smartcols/Cell.hpp b/libdnf/utils/smartcols/Cell.hpp
++index b90f0050..fc3c1d4a 100644
++--- a/libdnf/utils/smartcols/Cell.hpp
+++++ b/libdnf/utils/smartcols/Cell.hpp
++@@ -26,6 +26,10 @@
++ #include <string>
++ #include <stdexcept>
++ 
+++extern "C" {
+++@LIBSMARTCOLS_COMPAT@ extern int scols_cell_get_alignment(const struct libscols_cell *ce);
+++}
+++
++ class Cell
++ {
++ public:
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7eecf72e979b537256519e74c815ceeb2fb51e31
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,26 @@@
++From ea406b2109c0aba5ac592b2249c0f0a92f62d57b Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?=
++ <frederic.pierret@qubes-os.org>
++Date: Tue, 24 Nov 2020 22:16:41 +0100
++Subject: [PATCH] Set CMAKE_SKIP_RPATH to TRUE
++
++---
++ CMakeLists.txt | 2 ++
++ 1 file changed, 2 insertions(+)
++
++diff --git a/CMakeLists.txt b/CMakeLists.txt
++index 00ab52f7..b3fc5cda 100644
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -115,6 +115,8 @@ add_compile_options(-Wcast-align -Wno-uninitialized -Wredundant-decls -Wwrite-st
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11 -Wmissing-prototypes -Waggregate-return -Wshadow -Werror=implicit-function-declaration")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wmissing-declarations")
++ 
+++SET(CMAKE_SKIP_RPATH TRUE)
+++
++ # apple: turn rpath off
++ set(CMAKE_MACOSX_RPATH 0)
++ 
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..03530b9d80e89a30372c8d8cb1516776b93da43f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,29 @@@
++From 9c8e0cb52813ed5c8bd713ecda40ccb5e648b81a Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?=
++ <frederic.pierret@qubes-os.org>
++Date: Sat, 28 Nov 2020 23:00:31 +0100
++Subject: [PATCH] data: workaround for hardcoded absolute path data in
++ variables
++
++We use clean env for each build to use /tmp as location. This is
++a temporary solution until upstream/we found a better way for that.
++---
++ CMakeLists.txt | 3 ++-
++ 1 file changed, 2 insertions(+), 1 deletion(-)
++
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -134,7 +134,7 @@
++ add_definitions(-DG_LOG_DOMAIN=\\"libdnf\\")
++ 
++ # tests
++-add_definitions(-DTESTDATADIR=\\"${CMAKE_SOURCE_DIR}/data/tests\\")
+++add_definitions(-DTESTDATADIR=\\"/tmp/data/tests\\")
++ 
++ # librhsm
++ if(ENABLE_RHSM_SUPPORT)
++@@ -188,3 +188,4 @@
++ 
++ 
++ add_subdirectory(etc)
+++file(COPY data DESTINATION /tmp)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dadbcc3c379ddb1ab670102cb19c53ba4112a19d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,39 @@@
++From 712085ae6d701317ca00e90fa03c79c733b3f112 Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?=
++ <frederic.pierret@qubes-os.org>
++Date: Wed, 2 Dec 2020 11:30:10 +0100
++Subject: [PATCH] python tests: fix locale issues
++
++It has been observed that manipulating locales in Debian
++environment, tests are failing.
++
++======================================================================
++ERROR: test_custom_querying (tests.test_reldep.Reldep)
++----------------------------------------------------------------------
++Traceback (most recent call last):
++  File "/tmp/reprotest.wOQ8sL/build-experiment-1/build-experiment-1/python/hawkey/tests/tests/test_reldep.py", line 78, in test_custom_querying
++    reldep = hawkey.Reldep(self.sack, u"\u0159 >= 3")
++_hawkey.ValueException: Wrong reldep format: \u0159 >= 3
++---
++ python/hawkey/tests/tests/base.py     | 5 +++++
++ 1 file changed, 5 insertions(+)
++
++diff --git a/python/hawkey/tests/tests/base.py b/python/hawkey/tests/tests/base.py
++index 4d5937b2..e46a1d66 100644
++--- a/python/hawkey/tests/tests/base.py
+++++ b/python/hawkey/tests/tests/base.py
++@@ -33,6 +33,11 @@ if cachedir is None:
++     cachedir = tempfile.mkdtemp(dir=os.path.dirname(hawkey.test.UNITTEST_DIR),
++                                 prefix='pyhawkey')
++ 
+++# run tests with C locales
+++os.environ["LC_ALL"] = "C"
+++os.environ["LANG"] = "C.UTF-8"
+++os.environ["LANGUAGE"] = "en_US:en"
+++
++ class TestCase(unittest.TestCase):
++     repo_dir = os.path.normpath(os.path.join(__file__, "../../../../../data/tests/hawkey/"))
++ 
++-- 
++2.26.2
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6980843f563823c606a966e4eae5c79a0ced93c8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,12 @@@
++Author: Luca Boccassi <bluca@debian.org>
++Description: fix UTF8 character
++--- a/docs/libdnf/html/common.css
+++++ b/docs/libdnf/html/common.css
++@@ -1,6 +1,6 @@
++ /*  common.css - MoinMoin Default Styles
++ 
++-    Copyright (c) 2001, 2002, 2003 by Jürgen Hermann
+++    Copyright (c) 2001, 2002, 2003 by Jürgen Hermann
++ */
++ 
++ /* content styles */
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..721626ea72a990f3503c7c6f1e96036bd4e9b52c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,11 @@@
++0001-CMakeLists.txt-append-libsolv-cmake-path.patch
++0002-Use-static-libcheck-version.patch
++0003-Set-the-default-disttype-to-RPM.patch
++0004-Enable-implicitobsoleteusescolors-flag.patch
++0007-Support-Debian-releases-without-explicit-version.patch
++0008-Workaround-hawkey-test-failures-with-CK_FORK-no.patch
++0009-Use-private-scols_cell_get_alignment-with-older-libs.patch
++0011-Set-CMAKE_SKIP_RPATH-to-TRUE.patch
++0012-data-workaround-for-hardcoded-absolute-path-data-in-.patch
++0013-python-tests-fix-locale-issues.patch
++0014-css-utf8.patch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..65aa9322fcd62d076b899f9efab4dfd41a27be6f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++AUTHORS
++README.md
++build/docs/hawkey/html/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fe385b3966c1ce81c928d533d6595ba7aa3e9aa3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/share/javascript/jquery/jquery.js usr/share/doc/python3-hawkey-doc/html/_static/jquery.js
++usr/share/javascript/underscore/underscore.js usr/share/doc/python3-hawkey-doc/html/_static/underscore.js
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5ea1182ab8341c98ac33ddddb9b2c2e40f4bbfe0
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/python3/dist-packages/hawkey
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1e125bb326db5dc649a4e1de7396a2504d3dbeb5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/python3/dist-packages/libdnf*
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7b0cc8a200dcd65610d5c7932ac3c4b64035c653
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,55 @@@
++#!/usr/bin/make -f
++# See debhelper(7) (uncomment to enable)
++# output every command that modifies files on the build system.
++# export DH_VERBOSE = 1
++
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all
++DPKG_EXPORT_BUILDFLAGS = 1
++include /usr/share/dpkg/default.mk
++include /usr/share/debhelper/dh_package_notes/package-notes.mk
++
++%:
++      dh "${@}" --buildsystem=cmake
++
++override_dh_auto_configure:
++      dh_auto_configure --builddirectory=build -- \
++              -DWITH_BINDINGS:BOOL=ON \
++              -DWITH_GTKDOC:BOOL=ON \
++              -DWITH_HTML:BOOL=ON \
++              -DWITH_MAN:BOOL=ON \
++              -DENABLE_RHSM_SUPPORT:BOOL=OFF \
++              -DENABLE_SOLV_URPMREORDER:BOOL=OFF \
++              -DDISABLE_VALGRIND:BOOL=ON \
++              -DWITH_ZCHUNK:BOOL=OFF \
++              -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
++              -DLIB:STRING="lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)"
++
++      sed -i -e '/^@LIBSMARTCOLS_COMPAT@/s/^@LIBSMARTCOLS_COMPAT@/\/\//' 'libdnf/utils/smartcols/Cell.hpp'; \
++
++override_dh_auto_build:
++      dh_auto_build --builddirectory=build -- all doc-html doc-gtk doc
++
++override_dh_auto_install:
++      dh_auto_install --builddirectory=build
++
++      # Remove doctree files (redundant, conflicts with reproducible builds)
++      rm -rfv 'build/docs/hawkey/html/.doctrees'
++
++      # Use system-provides files.
++      rm -fv 'build/docs/hawkey/html/_static/jquery.js' \
++             'build/docs/hawkey/html/_static/underscore.js' \
++             'build/docs/hawkey/html/_static/doctools.js' \
++             'build/docs/hawkey/html/_static/language_data.js' \
++             'build/docs/hawkey/html/_static/searchtools.js'
++
++override_dh_auto_clean:
++      rm -f 'libdnf/dnf-version.h'
++      dh_auto_clean --builddirectory=build
++
++override_dh_auto_test:
++      mkdir -p '$(CURDIR)/debian/tests-home'
++      LC_ALL=C HOME='$(CURDIR)/debian/tests-home' dh_auto_test --builddirectory=build -- ARGS='-V'
++
++override_dh_installchangelogs:
++      # Do not try to install a history directory within docs.
++      dh_installchangelogs -Xhistory
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cb61fa5267b6ad8b3bbc2a612754b79dae466292
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++extend-diff-ignore = "^[^/]*[.]egg-info/"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dcaab2decee57da408f08fc4acad56def6cebd92
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,5 @@@
++---
++Bug-Database: https://github.com/rpm-software-management/libdnf/issues
++Bug-Submit: https://github.com/rpm-software-management/libdnf/issues/new
++Repository: https://github.com/rpm-software-management/libdnf.git
++Repository-Browse: https://github.com/rpm-software-management/libdnf
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e402a592332d7939320a7445556d8cf5731374c0
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=4
++opts=filenamemangle=s/.+\/(\d\S+)\.tar\.gz/libdnf-$1\.tar\.gz/ \
++  https://github.com/rpm-software-management/libdnf/tags .*/@ANY_VERSION@\.tar\.gz