-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2231 from ATIX-AG/fix_debian_packaging
Fix debian packaging
- Loading branch information
Showing
11 changed files
with
49 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,51 @@ | ||
subscription-manager for Debian | ||
------------------------------ | ||
|
||
<this file describes information about the source package, see Debian policy | ||
manual section 4.14. You WILL either need to modify or delete this file> | ||
Required packages for build | ||
--------------------------- | ||
|
||
* build-essentials | ||
* devscripts (for dch) | ||
* equivs (for mk-build-deps) | ||
|
||
|
||
-- Matthias Dellweg <[email protected]> Wed, 06 Dec 2017 13:49:53 +0100 | ||
Steps before build | ||
------------------ | ||
|
||
Copy debian-directory into the source root | ||
|
||
cp -r contrib/debian . | ||
|
||
Adapt package-version (new version).. | ||
|
||
dch -v <new-version> | ||
|
||
..or just increase release-number | ||
|
||
dch -i | ||
|
||
|
||
Install dependencies | ||
-------------------- | ||
|
||
Create and install meta-package that pulls in the required build-dependencies: | ||
|
||
mk-build-deps debian/control | ||
apt install ./subscription-manager-build-deps-*.deb | ||
|
||
The apt is able to install local deb-packages starting with version 1.1 | ||
|
||
|
||
Build package | ||
------------- | ||
|
||
Build the binary package (the resulting package files can be found in the parent-directory of the source-root-directory): | ||
|
||
dpkg-buildpackage -b | ||
|
||
For additional information about debian package building please refer to the debian developer manuals (https://www.debian.org/doc/devel-manuals). | ||
|
||
Debian packaging manuals can also be installed locally through debian packages (e.g. 'debian-policy') | ||
|
||
-- Markus Bucher <[email protected]> Tue, 24 Mar 2020 14:37:36 +0100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ Source: subscription-manager | |
Section: unknown | ||
Priority: optional | ||
Maintainer: Matthias Dellweg <[email protected]> | ||
#Build-Depends: debhelper (>= 9), dh-python, libglib2.0-dev, libdbus-glib-1-dev, libgtk2.0-dev, libglib2.0-dev, libgconf2-dev, libnotify-dev, lsb-release, pkg-config, python-all, python-setuptools, python3-all, python3-setuptools, intltool, python-dbus, python3-dbus, python-kitchen, python3-kitchen, python-flake8, python3-flake8, python-freezegun, python3-freezegun, python-polib, python3-polib, python-coverage, python3-coverage, python-dev, python3-dev | ||
Build-Depends: debhelper (>= 9), dh-python, libglib2.0-dev, libdbus-glib-1-dev, libgtk2.0-dev, libglib2.0-dev, libgconf2-dev, libnotify-dev, lsb-release, pkg-config, python-all, python-setuptools, intltool, python-dbus, python-kitchen, python-flake8, python-freezegun, python-polib, python-coverage, python-dev | ||
#Build-Depends: debhelper (>= 9), dh-python, libglib2.0-dev, libdbus-glib-1-dev, libgtk2.0-dev, libglib2.0-dev, libgconf2-dev, libnotify-dev, lsb-release, pkg-config, python-all, python-setuptools, python3-all, python3-setuptools, intltool, python-dbus, python3-dbus, python-kitchen, python3-kitchen, python-flake8, python3-flake8, python-freezegun, python3-freezegun, python-polib, python3-polib, python-coverage, python3-coverage, python-dev, python3-dev, libssl-dev | ||
Build-Depends: debhelper (>= 9), dh-python, libglib2.0-dev, libdbus-glib-1-dev, libgtk2.0-dev, libglib2.0-dev, libgconf2-dev, libnotify-dev, lsb-release, pkg-config, python-all, python-setuptools, intltool, python-dbus, python-kitchen, python-flake8, python-freezegun, python-polib, python-coverage, python-dev, libssl-dev | ||
Standards-Version: 3.9.8 | ||
Homepage: https://github.com/candlepin/subscription-manager | ||
X-Python-Version: >= 2.6 | ||
|
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
contrib/debian/python-subscription-manager.postinst.debhelper
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
contrib/debian/python-subscription-manager.prerm.debhelper
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
contrib/debian/python3-subscription-manager.postinst.debhelper
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
contrib/debian/python3-subscription-manager.prerm.debhelper
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters