forked from pool/linuxptp
- Use url for source
- Use kernel-devel instead full source OBS-URL: https://build.opensuse.org/package/show/network:time/linuxptp?expand=0&rev=3
This commit is contained in:
parent
f98c84db5c
commit
618ffd6c26
@ -2,7 +2,8 @@
|
|||||||
Fri Jun 30 06:45:51 UTC 2017 - mpluskal@suse.com
|
Fri Jun 30 06:45:51 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
- Cleanup spec file with spec-cleaner
|
- Cleanup spec file with spec-cleaner
|
||||||
- User url for source
|
- Use url for source
|
||||||
|
- Use kernel-devel instead full source
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 25 12:20:17 UTC 2017 - lpechacek@suse.com
|
Thu May 25 12:20:17 UTC 2017 - lpechacek@suse.com
|
||||||
|
@ -30,7 +30,7 @@ Source3: linuxptp.firewall
|
|||||||
Source4: linuxptp-howto.txt
|
Source4: linuxptp-howto.txt
|
||||||
Source5: phc2sys.service
|
Source5: phc2sys.service
|
||||||
Source6: sysconfig.phc2sys
|
Source6: sysconfig.phc2sys
|
||||||
BuildRequires: kernel-source
|
BuildRequires: kernel-devel
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
Provides: ptp-timekeeping
|
Provides: ptp-timekeeping
|
||||||
@ -48,10 +48,6 @@ Linux kernel.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export EXTRA_CFLAGS="%{optflags} -Iusr/include"
|
export EXTRA_CFLAGS="%{optflags} -Iusr/include"
|
||||||
|
|
||||||
# take missing header files form kernel sources
|
|
||||||
make %{?_smp_mflags} -C %{_prefix}/src/linux headers_install O=$PWD
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
cp %{SOURCE4} .
|
cp %{SOURCE4} .
|
||||||
|
Loading…
Reference in New Issue
Block a user