Fix package versioning

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/eppic?expand=0&rev=3
This commit is contained in:
Petr Tesařík 2013-04-03 09:14:27 +00:00 committed by Git OBS Bridge
parent a01774dcbe
commit a4f673c3eb
4 changed files with 17 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f01afd3cec724994ba2ff5aa169894ff19bd15df491fe5afb75106661550c259
size 76752

3
eppic-gitc2a2564.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fae7d11fc1d0f5e383703aeae069247e076e207736c23946517ba8a57e4bc264
size 76995

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 3 09:12:54 UTC 2013 - ptesarik@suse.cz
- update to commit c2a2564
o update planned upstream version to 4.0
- fix package versioning
-------------------------------------------------------------------
Thu Feb 14 09:17:43 UTC 2013 - ptesarik@suse.cz

View File

@ -15,16 +15,17 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define git_date 20121207
%define git_commit fdf153d
%define git_date 20130402
%define git_commit c2a2564
%define checkout %{git_date}git%{git_commit}
Name: eppic
Version: 0
Release: 0.<CI_CNT>.%{git_date}git%{git_commit}.<B_CNT>
Version: 3.99.%{checkout}
Release: 0
Summary: Embeddable Pre-Processor and Interpreter for C
Group: System/Libraries
License: GPL-2.0+
Source: %{name}-0.git%{git_commit}.tar.bz2
Source: %{name}-git%{git_commit}.tar.bz2
Patch1: %{name}-fix-install.patch
Patch2: %{name}-no-return.patch
BuildRequires: bison flex ncurses-devel
@ -58,7 +59,7 @@ embedded in any tools that is C friendly.
This package provides the include files and libraries needed for development.
%prep
%setup -n %{name}-%{version}.git%{git_commit}
%setup -n %{name}-git%{git_commit}
%patch1 -p1
%patch2 -p1