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