From 09279e925f1c04425b1335be662ab249ca84e37814194eb76722a21832929afb Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 30 Jun 2017 07:49:47 +0000 Subject: [PATCH] - 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 --- linuxptp.changes | 3 ++- linuxptp.spec | 6 +----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/linuxptp.changes b/linuxptp.changes index 586456f..37abbb7 100644 --- a/linuxptp.changes +++ b/linuxptp.changes @@ -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 diff --git a/linuxptp.spec b/linuxptp.spec index fb2332f..05bedf8 100644 --- a/linuxptp.spec +++ b/linuxptp.spec @@ -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} .