Change-Id: I32a54c84efa303bc358a81654884530ed699aef6
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3378
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>
Tested-by: Divya Thaluru <dthaluru@vmware.com>
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,55 +0,0 @@ |
1 |
-Summary: Irqbalance daemon |
|
2 |
-Name: irqbalance |
|
3 |
-Version: 1.1.0 |
|
4 |
-Release: 3%{?dist} |
|
5 |
-License: GPLv2 |
|
6 |
-URL: https://github.com/Irqbalance/irqbalance |
|
7 |
-Group: System Environment/Services |
|
8 |
-Vendor: VMware, Inc. |
|
9 |
-Distribution: Photon |
|
10 |
-Source0: https://github.com/Irqbalance/%{name}/archive/v%{version}.tar.gz |
|
11 |
-%define sha1 v1=bffafb547dd24a15645dbd1968c440218de6425d |
|
12 |
-BuildRequires: systemd |
|
13 |
-Requires: systemd |
|
14 |
-%description |
|
15 |
-Irqbalance is a daemon to help balance the cpu load generated by |
|
16 |
-interrupts across all of a systems cpus. |
|
17 |
-%prep |
|
18 |
-%setup -q |
|
19 |
-%build |
|
20 |
-./autogen.sh |
|
21 |
-./configure \ |
|
22 |
- --prefix=%{_prefix} \ |
|
23 |
- --disable-static \ |
|
24 |
- --with-systemd |
|
25 |
- |
|
26 |
-make %{?_smp_mflags} |
|
27 |
-%install |
|
28 |
-make DESTDIR=%{buildroot} install |
|
29 |
-install -D -m 0644 misc/irqbalance.env %{buildroot}/etc/sysconfig/irqbalance |
|
30 |
-sed -i 's#/path/to/irqbalance.env#/etc/sysconfig/irqbalance#' misc/irqbalance.service |
|
31 |
-sed -i 's/syslog.target//g' misc/irqbalance.service |
|
32 |
-install -D -m 0644 misc/irqbalance.service %{buildroot}%{_prefix}/lib/systemd/system/irqbalance.service |
|
33 |
- |
|
34 |
-%post |
|
35 |
-%systemd_post %{name}.service |
|
36 |
-%preun |
|
37 |
-%systemd_preun %{name}.service |
|
38 |
-%postun |
|
39 |
-%systemd_postun_with_restart %{name}.service |
|
40 |
- |
|
41 |
-%files |
|
42 |
-%defattr(-,root,root) |
|
43 |
-%config(noreplace) %{_sysconfdir}/* |
|
44 |
-%{_sbindir}/* |
|
45 |
-%exclude %{_libdir}/debug/* |
|
46 |
-%{_libdir}/systemd/* |
|
47 |
-%{_datadir}/* |
|
48 |
- |
|
49 |
-%changelog |
|
50 |
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.1.0-3 |
|
51 |
-- GA - Bump release of all rpms |
|
52 |
-* Thu May 05 2016 Kumar Kaushik <kaushikk@vmware.com> 1.1.0-2 |
|
53 |
-- Adding package upgrade support. |
|
54 |
-* Fri Jan 15 2016 Alexey Makhalov <amakhalov@vmware.com> 1.1.0-1 |
|
55 |
-- Initial version |