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}"
- |
# 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
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@@@
%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