Changeset - b24ead4b25ef
[Not reviewed]
0 2 0
sicherha - 8 years ago 2018-02-12 17:58:24
github@sicherha.de
Build packages with optimisations enabled
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
packaging/debian/debian/rules
Show inline comments
 
@@ -5,13 +5,13 @@
 
DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog -ldebian/changelog \
 
	| grep '^Version' \
 
	| sed  -e 's/Version: *//;s/^[^:]*://;s/-[^-]*$$//')
 

	
 
build:
 
	dh_testdir
 
	cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DSPECTRUM_VERSION=${DEB_UPSTREAM_VERSION} .
 
	cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DSPECTRUM_VERSION=${DEB_UPSTREAM_VERSION} .
 
	export VERBOSE=1
 
	VERBOSE=1 make VERBOSE=1
 

	
 
#override_dh_auto_configure:
 

	
 

	
packaging/fedora/spectrum2.spec
Show inline comments
 
@@ -33,13 +33,13 @@ Requires:      libtransport%{?_isa} = %{version}-%{release}
 
Spectrum 2 is an XMPP transport/gateway and also simple XMPP server.
 

	
 
%prep
 
%setup -q -n spectrum2
 

	
 
%build
 
%cmake . -DCMAKE_BUILD_TYPE=Debug
 
%cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo
 
make VERBOSE=1 %{?_smp_mflags}
 

	
 
%install
 
rm -rf %{buildroot}
 
make install DESTDIR=%{buildroot}
 
install -d %{buildroot}%{_localstatedir}/{lib,run,log}/spectrum2
0 comments (0 inline, 0 general)