Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jul 14, 2024
1 parent fe84de5 commit a6f4333
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 149 deletions.
1 change: 0 additions & 1 deletion client/buster/katello-host-tools/build_vars.sh

This file was deleted.

5 changes: 0 additions & 5 deletions client/buster/katello-host-tools/changelog

This file was deleted.

1 change: 0 additions & 1 deletion client/buster/katello-host-tools/clean

This file was deleted.

1 change: 0 additions & 1 deletion client/buster/katello-host-tools/compat

This file was deleted.

30 changes: 0 additions & 30 deletions client/buster/katello-host-tools/control

This file was deleted.

38 changes: 0 additions & 38 deletions client/buster/katello-host-tools/copyright

This file was deleted.

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions client/buster/katello-host-tools/rules

This file was deleted.

1 change: 0 additions & 1 deletion client/buster/katello-host-tools/source/format

This file was deleted.

1 change: 0 additions & 1 deletion client/buster/katello-host-tools/source/options

This file was deleted.

2 changes: 1 addition & 1 deletion client/focal/katello-host-tools/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
katello-host-tools (4.3.0-1) unstable; urgency=medium
katello-host-tools (4.4.0-1) unstable; urgency=medium

* Initial packaging attempts

Expand Down
1 change: 0 additions & 1 deletion client/focal/katello-host-tools/clean

This file was deleted.

1 change: 0 additions & 1 deletion client/focal/katello-host-tools/compat

This file was deleted.

14 changes: 3 additions & 11 deletions client/focal/katello-host-tools/control
Original file line number Diff line number Diff line change
@@ -1,30 +1,22 @@
Source: katello-host-tools
Section: unknown
Priority: optional
Section: admin
Maintainer: ATIX Team <[email protected]>
Build-Depends: debhelper (>= 9),
Build-Depends: debhelper-compat (= 12),
dh-exec,
dh-python,
lsb-release,
python3-setuptools,
python3-all
Standards-Version: 3.9.8
Standards-Version: 4.6.1
Homepage: https://github.com/katello/katello-host-tools
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2

Package: katello-host-tools
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, python3-subscription-manager
Description:
.
A set of commands that support a Katello host including faster package profile uploading and bound repository reporting.
.

Package: katello-host-tools-tracer
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, katello-host-tools
Description:
.
Adds Tracer functionality to a client managed by katello-host-tools.
.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /usr/bin/dh-exec
#!/usr/bin/dh-exec
usr/bin/katello-tracer-upload
usr/lib/python*/dist-packages/katello/tracer/
katello/contrib/extra/81-tracer-upload-apt => /etc/apt/apt.conf.d/81-tracer-upload
katello/contrib/extra/katello-tracer-upload.cron => /etc/cron.d/katello-host-tools
katello/apt_plugins/tracer_upload.py => /usr/bin/tracer-upload
10 changes: 10 additions & 0 deletions client/focal/katello-host-tools/katello-host-tools.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
usr/bin/katello-enabled-repos-upload
usr/bin/katello-package-upload
usr/lib/python*/dist-packages/katello/__init__.py
usr/lib/python*/dist-packages/katello/constants.py
usr/lib/python*/dist-packages/katello/enabled_report.py
usr/lib/python*/dist-packages/katello/packages.py
usr/lib/python*/dist-packages/katello/repos.py
usr/lib/python*/dist-packages/katello/scripts.py
usr/lib/python*/dist-packages/katello/uep.py
usr/lib/python*/dist-packages/katello/utils.py

This file was deleted.

23 changes: 2 additions & 21 deletions client/focal/katello-host-tools/rules
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
#!/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 PYBUILD_NAME=katello-host-tools
#export PYBUILD_NAME=katello-host-tools
export PYBUILD_DISABLE=test
export PYBUILD_DESTDIR_python2=${PWD}/debian/python-${PYBUILD_NAME}/
export PYBUILD_DESTDIR_python2-dbg=${PWD}/debian/python-${PYBUILD_NAME}-dbg/
export PYBUILD_DESTDIR_python3=${PWD}/debian/python3-${PYBUILD_NAME}/
export PYBUILD_DESTDIR_python3-dbg=${PWD}/debian/python3-${PYBUILD_NAME}-dbg/

export PYTHON=python3
export INCLUDE_SYSPURPOSE=1
export PYBUILD_SYSTEM=custom
export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/katello/contrib' '{destdir}/{install_dir}/katello/tracer/zypper.py' '{destdir}/{install_dir}/zypper_plugins' '{destdir}/{install_dir}/dnf-plugins' '{destdir}/{install_dir}/yum-plugins'

include /usr/share/dpkg/default.mk

%:
dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_clean:
dh_auto_clean
rm -rf build
rm -rf *.egg-info

override_dh_auto_build:
dh_auto_build

0 comments on commit a6f4333

Please sign in to comment.