[packages/libfdatetime] - updated to 20180910 (alpha) - removed obsolete system-libs patch
qboosh
qboosh at pld-linux.org
Wed Jul 17 22:11:28 CEST 2019
commit 39d57f32877e46829d13e3696c05cba4816e38e9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 17 22:13:17 2019 +0200
- updated to 20180910 (alpha)
- removed obsolete system-libs patch
libfdatetime-system-libs.patch | 40 ----------------------------------------
libfdatetime.spec | 24 ++++++++++--------------
2 files changed, 10 insertions(+), 54 deletions(-)
---
diff --git a/libfdatetime.spec b/libfdatetime.spec
index 524c07b..d102d4b 100644
--- a/libfdatetime.spec
+++ b/libfdatetime.spec
@@ -1,24 +1,23 @@
+# m4/libcerror.m4
+%define libcerror_ver 20120425
Summary: Library to support various date and time formats that are used in file formats
Summary(pl.UTF-8): Biblioteka obsługująca różne formaty daty i czasu używane w formatach plików
Name: libfdatetime
-Version: 20150104
-Release: 2
+Version: 20180910
+Release: 1
License: LGPL v3+
Group: Libraries
-Source0: https://github.com/libyal/libfdatetime/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 7cd94eb4638d67b9d8ac608d58a1cbfc
-Patch0: %{name}-system-libs.patch
+#Source0Download: https://github.com/libyal/libfdatetime/releases
+Source0: https://github.com/libyal/libfdatetime/releases/download/%{version}/%{name}-alpha-%{version}.tar.gz
+# Source0-md5: 8c9726fb6c1b98395e3ae9870d480d1d
URL: https://github.com/libyal/libfdatetime/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.6
BuildRequires: gettext-tools >= 0.18.1
-BuildRequires: libcerror-devel >= 20120425
-BuildRequires: libcstring-devel >= 20120425
+BuildRequires: libcerror-devel >= %{libcerror_ver}
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: sed >= 4.0
-Requires: libcerror >= 20120425
-Requires: libcstring >= 20120425
+Requires: libcerror >= %{libcerror_ver}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -34,8 +33,7 @@ Summary: Header files for libfdatetime library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libfdatetime
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: libcerror-devel >= 20120425
-Requires: libcstring-devel >= 20120425
+Requires: libcerror-devel >= %{libcerror_ver}
%description devel
Header files for libfdatetime library.
@@ -57,11 +55,9 @@ Statyczna biblioteka libfdatetime.
%prep
%setup -q
-%patch0 -p1
%build
%{__gettextize}
-%{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
diff --git a/libfdatetime-system-libs.patch b/libfdatetime-system-libs.patch
deleted file mode 100644
index bc663e4..0000000
--- a/libfdatetime-system-libs.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- libfdatetime-20150104/configure.ac.orig 2015-01-22 18:59:22.705738295 +0100
-+++ libfdatetime-20150104/configure.ac 2015-01-22 19:18:41.979022978 +0100
-@@ -121,8 +121,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([libfdatetime/Makefile])
- AC_CONFIG_FILES([po/Makefile.in])
- AC_CONFIG_FILES([po/Makevars])
---- libfdatetime-20150104/Makefile.am.orig 2015-01-22 18:59:22.179071650 +0100
-+++ libfdatetime-20150104/Makefile.am 2015-01-22 19:18:54.612355781 +0100
-@@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
- SUBDIRS = \
- include \
- common \
-- libcstring \
-- libcerror \
- libfdatetime \
- po \
- tests \
-@@ -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)/libfdatetime && $(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)/libfdatetime && $(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/libfdatetime.git/commitdiff/39d57f32877e46829d13e3696c05cba4816e38e9
More information about the pld-cvs-commit
mailing list