- 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:
Martin Pluskal 2017-06-30 07:49:47 +00:00 committed by Git OBS Bridge
parent f98c84db5c
commit 618ffd6c26
2 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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} .