diff --git a/bladeRF-add-cflag-Wno-format-truncation.diff b/bladeRF-add-cflag-Wno-format-truncation.patch similarity index 100% rename from bladeRF-add-cflag-Wno-format-truncation.diff rename to bladeRF-add-cflag-Wno-format-truncation.patch diff --git a/bladeRF.changes b/bladeRF.changes index 68b0d25..90b5e09 100644 --- a/bladeRF.changes +++ b/bladeRF.changes @@ -2,8 +2,7 @@ Thu Jun 1 06:47:30 UTC 2017 - mardnh@gmx.de - Add patch: - - bladeRF-add-cflag-Wno-format-truncation.diff - (fix build for Tumbleweed) + * bladeRF-add-cflag-Wno-format-truncation.patch (boo#1041192) ------------------------------------------------------------------- Wed Apr 26 18:15:47 UTC 2017 - mardnh@gmx.de diff --git a/bladeRF.spec b/bladeRF.spec index 9f68a65..eaa5817 100644 --- a/bladeRF.spec +++ b/bladeRF.spec @@ -31,7 +31,8 @@ Group: Productivity/Hamradio/Other Url: http://nuand.com/ #Git-Clone: https://github.com/Nuand/bladeRF.git Source: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz -Patch0: bladeRF-add-cflag-Wno-format-truncation.diff +# PATCH-FIX-OPENSUSE bladeRF-add-cflag-Wno-format-truncation.patch boo#1041192 +Patch0: bladeRF-add-cflag-Wno-format-truncation.patch BuildRequires: cmake >= 2.8.4 BuildRequires: doxygen BuildRequires: fdupes @@ -75,10 +76,7 @@ use of libbladerf. %prep %setup -q -n %{name}-%{release_name} -# FIXME: should be fixed upstream -%if 0%{?suse_version} > 1320 %patch0 -p1 -%endif %build cd host