[packages/libcaes] - updated to 20190102 (alpha) - removed obsolete system-libs patch

qboosh qboosh at pld-linux.org
Wed Jul 17 20:03:11 CEST 2019


commit e0a9b9924921856846c2019b7e7ffa986d4f7c2d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 17 20:04:58 2019 +0200

    - updated to 20190102 (alpha)
    - removed obsolete system-libs patch

 libcaes-system-libs.patch | 40 ----------------------------------------
 libcaes.spec              | 27 +++++++++++++--------------
 2 files changed, 13 insertions(+), 54 deletions(-)
---
diff --git a/libcaes.spec b/libcaes.spec
index db3e696..4f41d4c 100644
--- a/libcaes.spec
+++ b/libcaes.spec
@@ -1,24 +1,25 @@
+# m4/libcerror.m4
+%define		libcerror_ver	20120425
 Summary:	Library to support cross-platform AES encryption
 Summary(pl.UTF-8):	Biblioteka obsługująca wieloplatformowe szyfrowanie AES
 Name:		libcaes
-Version:	20150104
-Release:	3
+Version:	20190102
+Release:	1
 License:	LGPL v3+
 Group:		Libraries
-Source0:	https://github.com/libyal/libcaes/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	f8b82a86009fb49f89ed235db66f5e81
-Patch0:		%{name}-system-libs.patch
+#Source0Download: https://github.com/libyal/libcaes/releases
+Source0:	https://github.com/libyal/libcaes/releases/download/%{version}/%{name}-alpha-%{version}.tar.gz
+# Source0-md5:	1b654b697b72b2dfe3ee634984cc1700
 URL:		https://github.com/libyal/libcaes/
 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:	openssl-devel >= 1.0
 BuildRequires:	pkgconfig
-BuildRequires:	sed >= 4.0
-Requires:	libcerror >= 20120425
-Requires:	libcstring >= 20120425
+Requires:	libcerror >= %{libcerror_ver}
+Requires:	openssl >= 1.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,8 +33,8 @@ Summary:	Header files for libcaes library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libcaes
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	libcerror-devel >= 20120425
-Requires:	libcstring-devel >= 20120425
+Requires:	libcerror-devel >= %{libcerror_ver}
+Requires:	openssl-devel >= 1.0
 
 %description devel
 Header files for libcaes library.
@@ -55,11 +56,9 @@ Statyczna biblioteka libcaes.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__gettextize}
-%{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
diff --git a/libcaes-system-libs.patch b/libcaes-system-libs.patch
deleted file mode 100644
index 6768673..0000000
--- a/libcaes-system-libs.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- libcaes-20150104/configure.ac.orig	2015-01-23 17:38:02.845650552 +0100
-+++ libcaes-20150104/configure.ac	2015-01-23 17:47:53.718959087 +0100
-@@ -127,8 +127,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([libcaes/Makefile])
- AC_CONFIG_FILES([po/Makefile.in])
- AC_CONFIG_FILES([po/Makevars])
---- libcaes-20150104/Makefile.am.orig	2015-01-23 17:38:02.668983893 +0100
-+++ libcaes-20150104/Makefile.am	2015-01-23 17:48:08.638958463 +0100
-@@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
- SUBDIRS = \
- 	include \
- 	common \
--	libcstring \
--	libcerror \
- 	libcaes \
- 	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)/libcaes && $(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)/libcaes && $(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/libcaes.git/commitdiff/e0a9b9924921856846c2019b7e7ffa986d4f7c2d



More information about the pld-cvs-commit mailing list