Skip to content

Commit

Permalink
Rename packages to google-fluentd-catch-all-config-structured. (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoyles0117 authored Mar 15, 2018
1 parent 201806e commit 7ffc173
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# package google-fluentd configuration files.

BASE_PACKAGE_NAME=google-fluentd
PACKAGE_NAME=${BASE_PACKAGE_NAME}-catch-all-config
PACKAGE_NAME=${BASE_PACKAGE_NAME}-catch-all-config-structured
PACKAGE_VERSION=0.7
BUILD_DESCRIPTION="Automated Build"

BUILD_DIR=build

Expand All @@ -21,11 +22,14 @@ all: pkg tar
pkg: deb rpm

deb: populate-deb
(cd pkg/deb/ && \
dch --controlmaint --package "${PACKAGE_NAME}" \
-v "${PACKAGE_VERSION}" "${BUILD_DESCRIPTION}")
cp -a pkg/deb/debian ${DEB_PACKAGE_DIR}
(cd ${DEB_PACKAGE_DIR} && debuild --no-tgz-check -us -uc)

rpm: populate-el
rpmbuild -v -bb --nodeps --target noarch --define "buildroot `pwd`/${RPM_PACKAGE_DIR}/files" --define "_rpmdir `pwd`/${BUILD_DIR}/el" --define "package_version ${PACKAGE_VERSION}" --define "package_build_num 1" pkg/el/google-fluentd-catch-all-config.spec
rpmbuild -v -bb --nodeps --target noarch --define "buildroot `pwd`/${RPM_PACKAGE_DIR}/files" --define "_rpmdir `pwd`/${BUILD_DIR}/el" --define "package_version ${PACKAGE_VERSION}" --define "package_build_num 1" "pkg/el/${PACKAGE_NAME}.spec"

tar: deb-tar el-tar

Expand Down
4 changes: 2 additions & 2 deletions pkg/deb/debian/control
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Source: google-fluentd-catch-all-config
Source: google-fluentd-catch-all-config-structured
Section: misc
Priority: extra
Maintainer: Stackdriver Agents <[email protected]>
Build-Depends: debhelper (>= 7.0.0~), config-package-dev (>= 5.0)
Standards-Version: 3.9.5

Package: google-fluentd-catch-all-config
Package: google-fluentd-catch-all-config-structured
Architecture: all
Depends: ${misc:Depends}, google-fluentd (>= 1.3.0)
Description: Catch-all configuration files for google-fluentd on GCE.
Expand Down
2 changes: 1 addition & 1 deletion pkg/deb/debian/copyright
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: google-fluentd-catch-all-config
Upstream-Name: google-fluentd-catch-all-config-structured
Source: https://github.com/GoogleCloudPlatform/fluentd-catch-all-config

Files: *
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Summary: Catch-all configuration files for google-fluentd on GCE.
Name: google-fluentd-catch-all-config
Name: google-fluentd-catch-all-config-structured
Version: %{package_version}
Release: %{package_build_num}%{?dist}
License: ASL 2.0
Expand Down

0 comments on commit 7ffc173

Please sign in to comment.