Rebase to git commit ca7b526
This commit is contained in:
parent
860c7b56ad
commit
ae97ee4391
24
libteam.spec
24
libteam.spec
@ -1,6 +1,6 @@
|
||||
Name: libteam
|
||||
Version: 0.1
|
||||
Release: 9.20120627git96569f8%{?dist}
|
||||
Release: 10.20120628gitca7b526%{?dist}
|
||||
Summary: Library for controlling team network device
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
@ -9,12 +9,12 @@ URL: http://www.libteam.org
|
||||
# following commands to generate the tarball:
|
||||
# git clone git://github.com/jpirko/libteam.git
|
||||
# cd libteam/
|
||||
# git reset --hard 96569f8
|
||||
# git reset --hard ca7b526
|
||||
# ./autogen.sh
|
||||
# ./configure
|
||||
# make distcheck
|
||||
# mv libteam-0.1.tar.gz libteam-20120627git96569f8.tar.gz
|
||||
Source0: libteam-20120627git96569f8.tar.gz
|
||||
# mv libteam-0.1.tar.gz libteam-20120628gitca7b526.tar.gz
|
||||
Source0: libteam-20120628gitca7b526.tar.gz
|
||||
BuildRequires: jansson-devel
|
||||
BuildRequires: libdaemon-devel
|
||||
BuildRequires: libnl3-devel
|
||||
@ -85,6 +85,12 @@ find $RPM_BUILD_ROOT -name \*.la -delete
|
||||
rm -rf $RPM_BUILD_ROOT/%{_bindir}/team_*
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
|
||||
install teamd/dbus/teamd.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/network-scripts
|
||||
install -p -m 644 teamd/redhat/initscripts/teamd $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/
|
||||
install -p -m 755 teamd/redhat/initscripts/network-scripts/ifup-Team $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/network-scripts
|
||||
install -p -m 755 teamd/redhat/initscripts/network-scripts/ifdown-Team $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/network-scripts
|
||||
install -p -m 755 teamd/redhat/initscripts/network-scripts/ifup-TeamPort $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/network-scripts
|
||||
install -p -m 755 teamd/redhat/initscripts/network-scripts/ifdown-TeamPort $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/network-scripts
|
||||
cd binding/python
|
||||
python ./setup.py install --root $RPM_BUILD_ROOT -O1
|
||||
|
||||
@ -106,8 +112,13 @@ python ./setup.py install --root $RPM_BUILD_ROOT -O1
|
||||
|
||||
%files -n teamd
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING teamd/example_configs
|
||||
%doc COPYING teamd/example_configs teamd/redhat/example_ifcfgs/
|
||||
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/teamd.conf
|
||||
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/sysconfig/teamd
|
||||
%{_sysconfdir}/sysconfig/network-scripts/ifup-Team
|
||||
%{_sysconfdir}/sysconfig/network-scripts/ifdown-Team
|
||||
%{_sysconfdir}/sysconfig/network-scripts/ifup-TeamPort
|
||||
%{_sysconfdir}/sysconfig/network-scripts/ifdown-TeamPort
|
||||
%{_bindir}/teamd
|
||||
%{_bindir}/teamdctl
|
||||
%{_mandir}/man8/*
|
||||
@ -118,6 +129,9 @@ python ./setup.py install --root $RPM_BUILD_ROOT -O1
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 28 2012 Jiri Pirko <jpirko@redhat.com> - 0.1-10.20120628gitca7b526
|
||||
- Rebase to git commit ca7b526
|
||||
|
||||
* Thu Jun 27 2012 Jiri Pirko <jpirko@redhat.com> - 0.1-9.20120627git96569f8
|
||||
- Rebase to git commit 96569f8
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user