Accepting request 868967 from Kernel:kdump
- Update upstream URL. - Convert to obs_scm source service. - Upgrade to git commit e8844d3. - Drop patches that have been merged into upstream: o eppic-no-return.patch o eppic-use-extern-in-devel-declaration.patch o eppic-binutils-fix.patch - Add eppic-binutils-fix.patch in order to not used 'l' option for ar. It has a new meaning. OBS-URL: https://build.opensuse.org/request/show/868967 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eppic?expand=0&rev=10
This commit is contained in:
commit
eca0a15921
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service mode="localonly" name="tar_scm">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/lucchouina/eppic.git</param>
|
||||
<param name="subdir">libeppic</param>
|
||||
<param name="filename">libeppic</param>
|
||||
<param name="versionprefix">3.99.git</param>
|
||||
</service>
|
||||
<service mode="localonly" name="recompress">
|
||||
<param name="file">libeppic-*.tar</param>
|
||||
<param name="compression">bz2</param>
|
||||
</service>
|
||||
<service mode="localonly" name="set_version" />
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cddb7dc40138cadf3c716e54bf433ecdff37d87bf06b4b74f6415b738fe742bf
|
||||
size 77034
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
libeppic/eppic_var.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/libeppic/eppic_var.c
|
||||
+++ b/libeppic/eppic_var.c
|
||||
@@ -828,7 +828,7 @@ var_t*v;
|
||||
evaluation of sizeof or typeof.
|
||||
*/
|
||||
int eppic_getvlev() { return vlev; }
|
||||
-eppic_vpush()
|
||||
+void eppic_vpush()
|
||||
{
|
||||
if(vlev==S_MAXSDEEP) {
|
||||
|
||||
@@ -841,7 +841,7 @@ eppic_vpush()
|
||||
}
|
||||
}
|
||||
|
||||
-eppic_vpop()
|
||||
+void eppic_vpop()
|
||||
{
|
||||
if(vlev) {
|
||||
eppic_setsvlev(sidx[--vlev]);
|
@ -1,13 +0,0 @@
|
||||
Index: b/libeppic/eppic.h
|
||||
===================================================================
|
||||
--- a/libeppic/eppic.h
|
||||
+++ b/libeppic/eppic.h
|
||||
@@ -467,7 +467,7 @@ type_t *eppic_addstorage(type_t *t1, ty
|
||||
type_t *eppic_getvoidstruct(int ctype);
|
||||
|
||||
extern int lineno, needvar, instruct, nomacs, eppic_legacy;
|
||||
-node_t *lastv;
|
||||
+extern node_t *lastv;
|
||||
|
||||
#define NULLNODE ((node_t*)0)
|
||||
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 13:57:25 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
|
||||
|
||||
- Update upstream URL.
|
||||
- Convert to obs_scm source service.
|
||||
- Upgrade to git commit e8844d3.
|
||||
- Drop patches that have been merged into upstream:
|
||||
o eppic-no-return.patch
|
||||
o eppic-use-extern-in-devel-declaration.patch
|
||||
o eppic-binutils-fix.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 2 08:29:23 UTC 2021 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add eppic-binutils-fix.patch in order to not used 'l' option for
|
||||
ar. It has a new meaning.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 9 13:58:20 UTC 2020 - David Mair <dmair@suse.com>
|
||||
|
||||
|
24
eppic.spec
24
eppic.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package eppic
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,24 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define git_date 20140619
|
||||
%define git_commit 5391d3d
|
||||
%define checkout %{git_date}git%{git_commit}
|
||||
|
||||
Name: eppic
|
||||
Version: 3.99.%{checkout}
|
||||
Version: 3.99.git.1612358888.e8844d3
|
||||
Release: 0
|
||||
Summary: Embeddable Pre-Processor and Interpreter for C
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Source: %{name}-git%{git_commit}.tar.bz2
|
||||
Source: lib%{name}-%{version}.tar.bz2
|
||||
Patch1: %{name}-fix-install.patch
|
||||
Patch2: %{name}-no-return.patch
|
||||
Patch3: %{name}-use-extern-in-devel-declaration.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: ncurses-devel
|
||||
URL: http://code.google.com/p/eppic/
|
||||
URL: https://github.com/lucchouina/eppic
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -57,25 +51,21 @@ embedded in any tools that is C friendly.
|
||||
This package provides the include files and libraries needed for development.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-git%{git_commit}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%setup -n lib%{name}-%{version}
|
||||
%patch1 -p2
|
||||
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
cd libeppic
|
||||
make CFLAGS="%{optflags} -fPIC" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd libeppic
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
make ROOT="%{buildroot}" LIBDIR=%{_libdir} install
|
||||
|
||||
%files -n libeppic-devel
|
||||
%defattr(-,root,root)
|
||||
%doc libeppic/README
|
||||
%doc README
|
||||
%{_includedir}/eppic.h
|
||||
%{_includedir}/eppic_api.h
|
||||
%attr(644,root,root) %{_libdir}/libeppic.a
|
||||
|
3
libeppic-3.99.git.1612358888.e8844d3.tar.bz2
Normal file
3
libeppic-3.99.git.1612358888.e8844d3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02211c62e9d9e72a35571ace192d6b6d06be6f67c5e666130d9b9299ee7e3dcb
|
||||
size 71203
|
Loading…
Reference in New Issue
Block a user