update to 20130730git7789f0
This commit is contained in:
parent
857f4e6e2a
commit
a9c7a215dd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/linuxptp-20130719git46db40.tar.xz
|
||||
/linuxptp-20130730git7789f0.tar.xz
|
||||
|
@ -1,5 +1,5 @@
|
||||
%global gitdate 20130719
|
||||
%global gitrev 46db40
|
||||
%global gitdate 20130730
|
||||
%global gitrev 7789f0
|
||||
Name: linuxptp
|
||||
Version: 1.2
|
||||
Release: 2.%{gitdate}git%{gitrev}%{?dist}
|
||||
@ -11,7 +11,7 @@ URL: http://linuxptp.sourceforge.net/
|
||||
|
||||
# git clone git://git.code.sf.net/p/linuxptp/code linuxptp; cd linuxptp
|
||||
# git archive --prefix=linuxptp-%{version}/ %{gitrev} | \
|
||||
# gzip > linuxptp-%{gitdate}git%{gitrev}.tar.gz
|
||||
# xz > linuxptp-%{gitdate}git%{gitrev}.tar.xz
|
||||
Source0: %{name}-%{gitdate}git%{gitrev}.tar.xz
|
||||
#Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
|
||||
Source1: phc2sys.service
|
||||
@ -40,6 +40,7 @@ make %{?_smp_mflags} \
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir}/sysconfig,%{_unitdir},%{_mandir}/man5}
|
||||
install -m 644 -p default.cfg $RPM_BUILD_ROOT%{_sysconfdir}/ptp4l.conf
|
||||
install -m 644 -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}
|
||||
|
Loading…
Reference in New Issue
Block a user