[packages/hawkey] up to 0.4.14

glen glen at pld-linux.org
Sat Jun 14 20:16:37 CEST 2014


commit 8fb9366d4eae8c41ed88bebd2bc7a0eb132baf16
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jun 14 21:16:29 2014 +0300

    up to 0.4.14

 hawkey-format.patch | 11 -----------
 hawkey.spec         | 18 ++++++++----------
 2 files changed, 8 insertions(+), 21 deletions(-)
---
diff --git a/hawkey.spec b/hawkey.spec
index 2c0276d..2478688 100644
--- a/hawkey.spec
+++ b/hawkey.spec
@@ -1,23 +1,22 @@
 #
 # Conditional build:
 %bcond_without	python3		# Python 3.x bindings
-#
+
+%define		gitrev	428a977
 Summary:	High-level API for the libsolv library
 Summary(pl.UTF-8):	Wysokopoziomowe API dla biblioteki libsolv
 Name:		hawkey
-%define	snap	20131119
-Version:	0.4.5
-Release:	0.%{snap}.1
+Version:	0.4.14
+Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-Source0:	%{name}.tar.xz
-# Source0-md5:	a56265d2597c052dbe73895be1b7a994
-Patch0:		%{name}-format.patch
+Source0:	http://pkgs.fedoraproject.org/repo/pkgs/hawkey/%{name}-%{gitrev}.tar.xz/627bc061598350d8eb2615df8f6c653b/%{name}-%{gitrev}.tar.xz
+# Source0-md5:	627bc061598350d8eb2615df8f6c653b
 URL:		https://github.com/akozumpl/hawkey
 BuildRequires:	check-devel
 BuildRequires:	cmake >= 2.4
 BuildRequires:	expat-devel
-BuildRequires:	libsolv-devel
+BuildRequires:	libsolv-devel >= 0.6.0
 BuildRequires:	python-devel >= 2
 %{?with_python3:BuildRequires:	python3-devel >= 3}
 BuildRequires:	rpm-devel
@@ -98,7 +97,6 @@ Wiązania Pythona 3.x do biblioteki hawkey.
 
 %prep
 %setup -q -n %{name}
-%patch0 -p1
 
 %build
 install -d build %{?with_python3:build-py3}
@@ -140,7 +138,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README.md
+%doc AUTHORS README.rst
 %attr(755,root,root) %{_libdir}/libhawkey.so.0
 
 %files devel
diff --git a/hawkey-format.patch b/hawkey-format.patch
deleted file mode 100644
index d8270f4..0000000
--- a/hawkey-format.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- hawkey/src/sack.c.orig	2013-11-24 17:59:02.000000000 +0100
-+++ hawkey/src/sack.c	2013-11-24 18:40:47.035621464 +0100
-@@ -916,7 +916,7 @@
-     va_start(args, format);
-     vsnprintf(buf, sizeof(buf), format_nl, args);
-     va_end(args);
--    POOL_DEBUG(level, buf);
-+    POOL_DEBUG(level, "%s", buf);
- }
- 
- int
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hawkey.git/commitdiff/8fb9366d4eae8c41ed88bebd2bc7a0eb132baf16



More information about the pld-cvs-commit mailing list