diff --git a/_service b/_service new file mode 100644 index 0000000..1e855c0 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/lucchouina/eppic.git + libeppic + libeppic + 3.99.git + + + libeppic-*.tar + bz2 + + + diff --git a/eppic-git5391d3d.tar.bz2 b/eppic-git5391d3d.tar.bz2 deleted file mode 100644 index 3ceb34d..0000000 --- a/eppic-git5391d3d.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cddb7dc40138cadf3c716e54bf433ecdff37d87bf06b4b74f6415b738fe742bf -size 77034 diff --git a/eppic-no-return.patch b/eppic-no-return.patch deleted file mode 100644 index 5db5f02..0000000 --- a/eppic-no-return.patch +++ /dev/null @@ -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]); diff --git a/eppic-use-extern-in-devel-declaration.patch b/eppic-use-extern-in-devel-declaration.patch deleted file mode 100644 index da10c6f..0000000 --- a/eppic-use-extern-in-devel-declaration.patch +++ /dev/null @@ -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) - diff --git a/eppic.changes b/eppic.changes index 27e65dc..0c5e822 100644 --- a/eppic.changes +++ b/eppic.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Feb 3 13:57:25 UTC 2021 - Petr Tesařík + +- 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 + +- 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 diff --git a/eppic.spec b/eppic.spec index af17c28..0045f7a 100644 --- a/eppic.spec +++ b/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 diff --git a/libeppic-3.99.git.1612358888.e8844d3.tar.bz2 b/libeppic-3.99.git.1612358888.e8844d3.tar.bz2 new file mode 100644 index 0000000..c6957e3 --- /dev/null +++ b/libeppic-3.99.git.1612358888.e8844d3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02211c62e9d9e72a35571ace192d6b6d06be6f67c5e666130d9b9299ee7e3dcb +size 71203