From: Frank Brehm Date: Thu, 16 Dec 2021 14:31:09 +0000 (+0100) Subject: Fixing resulting package name X-Git-Tag: 0.4.1~4^2~20 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=4dbd0329f77a656f19ad4c0bb3208db173abdbf2;p=pixelpark%2Fpp-admin-tools.git Fixing resulting package name --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f868230..28c19e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -200,10 +200,10 @@ Linter: PKG_VERSION=$( ./get-rpm-version ) PKG_RELEASE=$( ./get-rpm-release ) echo "Version to build: ${PKG_VERSION}-${PKG_RELEASE}" - mkdir -pv "rpmdir/SOURCES/pp_admintools-${PKG_VERSION}" - tar cf - ${ROOT_OBJECTS} | (cd "rpmdir/SOURCES/pp_admintools-${PKG_VERSION}" ; tar xf -) - echo "Creating rpmdir/SOURCES/pp_admintools.${PKG_VERSION}.tar.gz ..." - cd rpmdir/SOURCES && tar cfz "pp_admintools.${PKG_VERSION}.tar.gz" "pp_admintools-${PKG_VERSION}" + mkdir -pv "rpmdir/SOURCES/pp-admintools-${PKG_VERSION}" + tar cf - ${ROOT_OBJECTS} | (cd "rpmdir/SOURCES/pp-admintools-${PKG_VERSION}" ; tar xf -) + echo "Creating rpmdir/SOURCES/pp-admintools.${PKG_VERSION}.tar.gz ..." + cd rpmdir/SOURCES && tar cfz "pp-admintools.${PKG_VERSION}.tar.gz" "pp-admintools-${PKG_VERSION}" ls -lA --color=always cd "${ODIR}" - | diff --git a/pp-admintools.spec.template b/pp-admintools.spec.template index cc7c3c4..34d3aff 100644 --- a/pp-admintools.spec.template +++ b/pp-admintools.spec.template @@ -1,9 +1,9 @@ # vim: filetype=spec %define version @@@Version@@@ -%define builddir python@@@py_version_nodot@@@_pp-admintools-%{version} +%define builddir pp-admintools-%{version} -Name: python@@@py_version_nodot@@@-pp-admintools +Name: pp-admintools Version: %{version} Release: @@@Release@@@%{?dist} Summary: Scripts and modules for admin tasks of DPX Betriebs-Department @@ -12,7 +12,7 @@ Group: Development/Languages/Python License: LGPL-3 Distribution: Frank Brehm URL: https://git.pixelpark.com/ppadmin/admin-tools -Source0: pp_admintools.%{version}.tar.gz +Source0: pp-admintools.%{version}.tar.gz BuildRequires: gettext BuildRequires: python@@@py_version_nodot@@@ @@ -39,7 +39,7 @@ BuildArch: noarch %description Scripts and modules for admin tasks of DPX Betriebs-Department -This is the Python@@@py_version_nodot@@@ version. +This package is intended to use with Python@@@py_version_nodot@@@. In this package are contained the following scripts: * dns-deploy-zones