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
4c96eb5a3a
commit
09279e925f
@ -2,7 +2,8 @@
|
||||
Fri Jun 30 06:45:51 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- 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
|
||||
|
@ -30,7 +30,7 @@ Source3: linuxptp.firewall
|
||||
Source4: linuxptp-howto.txt
|
||||
Source5: phc2sys.service
|
||||
Source6: sysconfig.phc2sys
|
||||
BuildRequires: kernel-source
|
||||
BuildRequires: kernel-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires(pre): %fillup_prereq
|
||||
Provides: ptp-timekeeping
|
||||
@ -48,10 +48,6 @@ Linux kernel.
|
||||
|
||||
%build
|
||||
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}
|
||||
|
||||
cp %{SOURCE4} .
|
||||
|
Loading…
Reference in New Issue
Block a user