Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
Fix --replaces format for deb packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Moya committed Feb 21, 2018
1 parent ad6d8ef commit c8682a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile-package.mk
Expand Up @@ -12,9 +12,9 @@ PACKAGER = "New Relic Infrastructure Team <infrastructure-eng@newrelic
PACKAGE_URL = "https://www.newrelic.com/infrastructure"
SUMMARY = "New Relic Infrastructure Integrations"
DESCRIPTION = "New Relic Infrastructure Integrations extend the core New Relic\nInfrastructure agent's capabilities to allow you to collect metric and\nlive state data from your infrastructure components such as MySQL,\nNGINX and Cassandra."
FPM_COMMON_OPTIONS = --verbose -C $(SOURCE_DIR) -s dir -n $(PROJECT_NAME) -v $(VERSION) --iteration $(RELEASE) --prefix "" --license $(LICENSE) --vendor $(VENDOR) -m $(PACKAGER) --url $(PACKAGE_URL) --config-files /etc/newrelic-infra/ --description "$$(printf $(DESCRIPTION))" --depends "newrelic-infra >= 1.0.726" --depends "nrjmx" --replaces "newrelic-infra-integrations-beta <= 1.0.0"
FPM_DEB_OPTIONS = -t deb -p $(PACKAGES_DIR)/deb/
FPM_RPM_OPTIONS = -t rpm -p $(PACKAGES_DIR)/rpm/ --epoch 0 --rpm-summary $(SUMMARY)
FPM_COMMON_OPTIONS = --verbose -C $(SOURCE_DIR) -s dir -n $(PROJECT_NAME) -v $(VERSION) --iteration $(RELEASE) --prefix "" --license $(LICENSE) --vendor $(VENDOR) -m $(PACKAGER) --url $(PACKAGE_URL) --config-files /etc/newrelic-infra/ --description "$$(printf $(DESCRIPTION))" --depends "newrelic-infra >= 1.0.726" --depends "nrjmx"
FPM_DEB_OPTIONS = -t deb -p $(PACKAGES_DIR)/deb/ --replaces "newrelic-infra-integrations-beta (<= 1.0.0)"
FPM_RPM_OPTIONS = -t rpm -p $(PACKAGES_DIR)/rpm/ --epoch 0 --rpm-summary $(SUMMARY) --replaces "newrelic-infra-integrations-beta <= 1.0.0"

package: create-bins prep-pkg-env $(PACKAGE_TYPES)

Expand Down

0 comments on commit c8682a3

Please sign in to comment.