]> git.pld-linux.org Git - packages/irqbalance.git/commitdiff
- added systemd bcond
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 May 2015 20:05:54 +0000 (22:05 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 May 2015 20:05:54 +0000 (22:05 +0200)
irqbalance.spec

index 8a6377de0b5fbb7e352dbfe44a16dff2da7adf49..367cd57e266f9ed107f4de1679bab81332f442d8 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without numa    # disable NUMA support
+%bcond_with    systemd # systemd journal support
 #
 Summary:       Balancing of IRQs between multiple CPUs
 Summary(pl.UTF-8):     Rozdzielanie IRQ pomiędzy wiele procesorów
@@ -15,7 +16,7 @@ Source1:      %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}.service
 URL:           https://github.com/Irqbalance/irqbalance
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: glib2-devel >= 1:2.28
 BuildRequires: libtool
@@ -25,6 +26,7 @@ BuildRequires:        libcap-ng-devel
 %{?with_numa:BuildRequires:    numactl-devel}
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.647
+%{?with_systemd:BuildRequires: systemd-devel}
 Requires(post,preun):  /sbin/chkconfig
 Requires(post,preun,postun):   systemd-units >= 38
 Requires:      glib2 >= 1:2.28
@@ -51,7 +53,8 @@ celu zwiększenia wydajności systemu.
 %{__automake}
 %configure \
        %{!?with_numa:--disable-numa} \
-       --with-libcap-ng
+       --with-libcap-ng \
+       %{?with_systemd:--with-systemd}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.150009 seconds and 4 git commands to generate.