diff --git a/.gitignore b/.gitignore index fe1192c..c0cd839 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /0.11-rc3.tar.gz /0.11.tar.gz /sway-b3c0aa3.tar.gz +/sway-0.12-rc1.tar.gz diff --git a/sources b/sources index 7c81432..6a04794 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sway-b3c0aa3.tar.gz) = 1098fd899e606841a312d307d407e22ac0852ffc622a9bae888c14482e295e11e69b908dba98df434eadc772ead62c12e3b75b7d25c40103ade6acaff9659a93 +SHA512 (sway-0.12-rc1.tar.gz) = 55c5590fe6af57c2c81c10e25bfdbff45227e22c874a7f91d9925ba41a5adb9e616c2265744d94a3f66bd450efa98c00fadca9abe2cf58ea8c512818376692cb diff --git a/sway.spec b/sway.spec index a3a8a77..231d636 100644 --- a/sway.spec +++ b/sway.spec @@ -1,14 +1,11 @@ -%global commit0 b3c0aa3a9e7dfd8f70643bbfaf64c8af1f58a7fa -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - Name: sway -Version: 0.11 -Release: 7.git%{shortcommit0}%{?dist} +Version: 0.12 +Release: 0.rc1%{?dist} Summary: i3-compatible window manager for Wayland Group: User Interface/X License: MIT URL: https://github.com/SirCmpwn/sway -Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +Source0: %{url}/archive/0.12-rc1/%{name}-%{version}-rc1.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(wlc) BuildRequires: wayland-devel @@ -40,10 +37,12 @@ Sway is a tiling window manager supporting Wayland compositor protocol and i3-compatible configuration. %prep -%autosetup -n %{name}-%{commit0} +%autosetup -n %{name}-0.12-rc1 mkdir %{_target_platform} %build +export CFLAGS="%{optflags} -Wno-error" +export LDFLAGS="%{__global_ldflags}" pushd %{_target_platform} %cmake \ -DBUILD_SHARED_LIBS:BOOL=OFF \