add %snapshot
This commit is contained in:
parent
720580cefc
commit
5b51807578
@ -1,3 +1,5 @@
|
||||
%global snapshot 1
|
||||
|
||||
Name: ibus-libpinyin
|
||||
Version: 1.4.93
|
||||
Release: 4%{?dist}
|
||||
@ -6,7 +8,9 @@ License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/libpinyin/ibus-libpinyin
|
||||
Source0: https://github.com/downloads/libpinyin/ibus-libpinyin/%{name}-%{version}.tar.gz
|
||||
%if %snapshot
|
||||
Patch0: ibus-libpinyin-1.5.x-head.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: intltool
|
||||
@ -36,7 +40,9 @@ input method based on libpinyin for IBus.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if %snapshot
|
||||
%patch0 -p1 -b .head
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
|
Loading…
Reference in New Issue
Block a user