Accepting request 898058 from home:jengelh:forensics
- Update to snapshot 20210411 (9ece23ab) OBS-URL: https://build.opensuse.org/request/show/898058 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libcsplit?expand=0&rev=9
This commit is contained in:
parent
d51a4a9911
commit
94e1a8d1fb
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/libyal/libcsplit</param>
|
||||
<param name="revision">9ece23ab25febd2d0510b87e07ba7816b833aca7</param>
|
||||
<!-- see configure.ac -->
|
||||
<param name="versionformat">20210411</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
3
libcsplit-20210411.tar.xz
Normal file
3
libcsplit-20210411.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fb3540b182b234cc4642e4a51c63212562dbf85dfdd7b77b8d6923f49b392f4a
|
||||
size 57680
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db9b473bdf954d81cff3725d70e067fd8a30dd77ae6ee55cf96bdd81e3ce67bf
|
||||
size 512309
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 12 17:26:33 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to snapshot 20210411 (9ece23ab)
|
||||
* No changelog was provided
|
||||
- Add system-libs.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 29 22:35:01 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libcsplit
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@ -12,35 +12,37 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libcsplit
|
||||
%define lname libcsplit1
|
||||
%define timestamp 20200703
|
||||
Version: 0~%timestamp
|
||||
Version: 20210411
|
||||
Release: 0
|
||||
Summary: Library for cross-platform C split string functions
|
||||
License: LGPL-3.0+
|
||||
Summary: Library for C split string functions
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://github.com/libyal/libcsplit/wiki
|
||||
Source: https://github.com/libyal/libcsplit/releases/download/%timestamp/%{name}-beta-%timestamp.tar.gz
|
||||
#BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libcerror) >= 20130904
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: https://github.com/libyal/libcsplit
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: system-libs.patch
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: gettext-tools >= 0.18.1
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libcerror) >= 20201121
|
||||
|
||||
%description
|
||||
A library for cross-platform C split string functions.
|
||||
A library for C split string functions.
|
||||
|
||||
This package is part of the libyal library collection and is used by other libraries in the collection
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for cross-platform C split string functions
|
||||
Summary: Library for C split string functions
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
Library for cross-platform C split string functions.
|
||||
Library for C split string functions.
|
||||
|
||||
Part of the libyal family of libraries.
|
||||
|
||||
@ -53,25 +55,26 @@ Also see:
|
||||
libcnotify; notification functions
|
||||
libcfile; file functions
|
||||
libcpath; path functions
|
||||
libcthreads; threads functions
|
||||
libcthreads; threads functions
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libcsplit, a cross-platform C split string library
|
||||
Summary: Development files for libcsplit, a C split string library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %{version}
|
||||
|
||||
%description devel
|
||||
A library for cross-platform C split string functions.
|
||||
A library for C split string functions.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libcsplit.
|
||||
|
||||
%prep
|
||||
%setup -qn libcsplit-%timestamp
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||
%configure --disable-static --enable-wide-character-type
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -81,14 +84,10 @@ rm -f "%{buildroot}/%{_libdir}"/*.la
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog
|
||||
%license COPYING*
|
||||
%{_libdir}/libcsplit.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog
|
||||
%license COPYING*
|
||||
%{_includedir}/libcsplit*
|
||||
%{_libdir}/libcsplit.so
|
||||
|
43
system-libs.patch
Normal file
43
system-libs.patch
Normal file
@ -0,0 +1,43 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2021-05-12 17:36:02.536572543 +0200
|
||||
|
||||
Some dirs are not present in snapshots directly generated from git
|
||||
(nor are they marked as a submodule). Patch it out, since we have
|
||||
them as system libs.
|
||||
---
|
||||
Makefile.am | 2 --
|
||||
configure.ac | 1 -
|
||||
2 files changed, 3 deletions(-)
|
||||
|
||||
Index: libcsplit-20210411/Makefile.am
|
||||
===================================================================
|
||||
--- libcsplit-20210411.orig/Makefile.am
|
||||
+++ libcsplit-20210411/Makefile.am
|
||||
@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = \
|
||||
include \
|
||||
common \
|
||||
- libcerror \
|
||||
libcsplit \
|
||||
po \
|
||||
manuals \
|
||||
@@ -53,7 +52,6 @@ lib: library
|
||||
|
||||
library:
|
||||
cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS)
|
||||
- cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS)
|
||||
cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS)
|
||||
cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS)
|
||||
|
||||
Index: libcsplit-20210411/configure.ac
|
||||
===================================================================
|
||||
--- libcsplit-20210411.orig/configure.ac
|
||||
+++ libcsplit-20210411/configure.ac
|
||||
@@ -94,7 +94,6 @@ dnl Generate Makefiles
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([include/Makefile])
|
||||
AC_CONFIG_FILES([common/Makefile])
|
||||
-AC_CONFIG_FILES([libcerror/Makefile])
|
||||
AC_CONFIG_FILES([libcsplit/Makefile])
|
||||
AC_CONFIG_FILES([po/Makefile.in])
|
||||
AC_CONFIG_FILES([po/Makevars])
|
Loading…
Reference in New Issue
Block a user