Skip to content

Commit

Permalink
Remove dependency on chkconfig from rpm spec files.
Browse files Browse the repository at this point in the history
Scheduling via systemd or init.d is now done manually after
rpm installation.

Turn off building the rpm debug package (because it required
--build-id linker option which does not exist on older systems
such as CentOS 5.10).
  • Loading branch information
sflow committed Aug 2, 2016
1 parent f56092a commit 0f3527b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hsflowd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Group: Applications/Internet
URL: http://sflow.net
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
Requires(post): chkconfig
%define debug_package %{nil}

%description
This program implements the host sFlow(R) standard - sending
Expand Down
1 change: 0 additions & 1 deletion hsflowd.spec.aix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Group: Applications/Internet
URL: http://sflow.net
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
#Requires(post): chkconfig

%define OpenVSwitchControl /usr/bin/ovs-vsctl

Expand Down
3 changes: 2 additions & 1 deletion src/Linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ CFLAGS_HSFLOWD= -I. -I$(JSONDIR) -I$(SFLOWDIR)
LIBS_HSFLOWD= $(JSONDIR)/libjson.a $(SFLOWDIR)/libsflow.a -lm -pthread -ldl

CFLAGS_SHARED= -fPIC
LDFLAGS_SHARED= -shared --build-id
LDFLAGS_SHARED= -shared
# LDFLAGS_SHARED += --build-id

# CFLAGS and LIBS - modules
CFLAGS_JSON=
Expand Down

0 comments on commit 0f3527b

Please sign in to comment.