[packages/libcthreads] - updated to 20180724 - removed obsolete system-libs patch (libcstring no longer used, system libcer
qboosh
qboosh at pld-linux.org
Tue Jul 16 19:19:24 CEST 2019
commit fbd71215e3723bd20218a335ccbc02af457d81cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jul 16 19:21:10 2019 +0200
- updated to 20180724
- removed obsolete system-libs patch (libcstring no longer used, system libcerror supported upstream)
libcthreads-system-libs.patch | 40 ----------------------------------------
libcthreads.spec | 19 +++++++------------
2 files changed, 7 insertions(+), 52 deletions(-)
---
diff --git a/libcthreads.spec b/libcthreads.spec
index 8e0d577..73cc6b9 100644
--- a/libcthreads.spec
+++ b/libcthreads.spec
@@ -1,24 +1,21 @@
Summary: Library to support cross-platform C threads functions
Summary(pl.UTF-8): Biblioteka wspierająca wieloplatformowe funkcje obsługi wątków w C
Name: libcthreads
-Version: 20150101
-Release: 2
+Version: 20180724
+Release: 1
License: LGPL v3+
Group: Libraries
-Source0: https://github.com/libyal/libcthreads/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: c0cc6abe573e796c1f4ebe0db7e23b73
-Patch0: %{name}-system-libs.patch
+#Source0Download: https://github.com/libyal/libcthreads/releases
+Source0: https://github.com/libyal/libcthreads/releases/download/%{version}/%{name}-alpha-%{version}.tar.gz
+# Source0-md5: db38f7521fbfd20502de5befd23166c7
URL: https://github.com/libyal/libcthreads/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.6
BuildRequires: gettext-tools >= 0.18.1
BuildRequires: libcerror-devel >= 20120425
-BuildRequires: libcstring-devel >= 20120425
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: sed >= 4.0
Requires: libcerror >= 20120425
-Requires: libcstring >= 20120425
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -34,7 +31,6 @@ Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libcthreads
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libcerror-devel >= 20120425
-Requires: libcstring-devel >= 20120425
%description devel
Header files for libcthreads library.
@@ -56,17 +52,16 @@ Statyczna biblioteka libcthreads.
%prep
%setup -q
-%patch0 -p1
%build
%{__gettextize}
-%{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ --with-libcerror
%{__make}
%install
diff --git a/libcthreads-system-libs.patch b/libcthreads-system-libs.patch
deleted file mode 100644
index 778bf35..0000000
--- a/libcthreads-system-libs.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- libcthreads-20150101/configure.ac.orig 2015-01-18 20:28:28.290017419 +0100
-+++ libcthreads-20150101/configure.ac 2015-01-18 20:30:33.576678828 +0100
-@@ -118,8 +118,6 @@ dnl Have configure make the Makefiles
- AC_CONFIG_FILES([Makefile])
- AC_CONFIG_FILES([include/Makefile])
- AC_CONFIG_FILES([common/Makefile])
--AC_CONFIG_FILES([libcstring/Makefile])
--AC_CONFIG_FILES([libcerror/Makefile])
- AC_CONFIG_FILES([libcthreads/Makefile])
- AC_CONFIG_FILES([po/Makefile.in])
- AC_CONFIG_FILES([po/Makevars])
---- libcthreads-20150101/Makefile.am.orig 2015-01-18 20:28:27.856684104 +0100
-+++ libcthreads-20150101/Makefile.am 2015-01-18 20:31:05.620010817 +0100
-@@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
- SUBDIRS = \
- include \
- common \
-- libcstring \
-- libcerror \
- libcthreads \
- po \
- manuals \
-@@ -55,8 +53,6 @@ lib: library
-
- library:
- cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS)
-- cd $(srcdir)/libcstring && $(MAKE) $(AM_MAKEFLAGS)
-- cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS)
- cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS)
- cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS)
-
-@@ -73,8 +69,6 @@ distclean: clean
- done && test -z "$$fail"
-
- splint:
-- (cd $(srcdir)/libcstring && $(MAKE) splint $(AM_MAKEFLAGS))
-- (cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
- (cd $(srcdir)/po && $(MAKE) splint $(AM_MAKEFLAGS))
- (cd $(srcdir)/tests && $(MAKE) splint $(AM_MAKEFLAGS))
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcthreads.git/commitdiff/fbd71215e3723bd20218a335ccbc02af457d81cc
More information about the pld-cvs-commit
mailing list