rpms/libmicrohttpd/devel libmicrohttpd_64bit_fix.patch, NONE, 1.1 libmicrohttpd.spec, 1.4, 1.5 libmicrohttpd_fix_0_4_0_testcase.patch, 1.1, NONE

Erik van Pienbroek epienbro at fedoraproject.org
Fri Feb 27 22:44:05 UTC 2009


Author: epienbro

Update of /cvs/pkgs/rpms/libmicrohttpd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21749/devel

Modified Files:
	libmicrohttpd.spec 
Added Files:
	libmicrohttpd_64bit_fix.patch 
Removed Files:
	libmicrohttpd_fix_0_4_0_testcase.patch 
Log Message:
- Update to version 0.4.0a
- Drop upstreamed patch
- Added a new patch to fix a 64bit issue
- The -devel package now contains a pkgconfig file
- The configure script is now run with '--enable-messages --enable-https'
- Made the -doc subpackage noarch (F11+)


libmicrohttpd_64bit_fix.patch:

--- NEW FILE libmicrohttpd_64bit_fix.patch ---
--- src/testcurl/daemontest_large_put.c.orig	2009-02-27 22:58:16.926062599 +0100
+++ src/testcurl/daemontest_large_put.c	2009-02-27 22:58:20.776312622 +0100
@@ -274,7 +274,7 @@
                         1082,
                         NULL, NULL, &ahc_echo, &done_flag,
                         MHD_OPTION_CONNECTION_MEMORY_LIMIT,
-                        PUT_SIZE * 4, MHD_OPTION_END);
+                        (size_t) PUT_SIZE * 4, MHD_OPTION_END);
   if (d == NULL)
     return 256;
   c = curl_easy_init ();


Index: libmicrohttpd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libmicrohttpd/devel/libmicrohttpd.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libmicrohttpd.spec	25 Feb 2009 16:14:21 -0000	1.4
+++ libmicrohttpd.spec	27 Feb 2009 22:43:35 -0000	1.5
@@ -1,16 +1,15 @@
 Summary: Lightweight library for embedding a webserver in applications
 Name: libmicrohttpd
-Version: 0.4.0
-Release: 2%{?dist}
+Version: 0.4.0a
+Release: 1%{?dist}
 Group: Development/Libraries
 License: LGPLv2+
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 URL: http://www.gnu.org/software/libmicrohttpd/
 Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
 
-# In version 0.4.0, two of the testcases fail on 64bit environments
-# Upstream bug #1454
-Patch0: libmicrohttpd_fix_0_4_0_testcase.patch
+# https://gnunet.org/mantis/view.php?id=1459
+Patch0: libmicrohttpd_64bit_fix.patch
 
 BuildRequires:	libcurl-devel
 BuildRequires:	graphviz
@@ -45,6 +44,9 @@
 Summary:	Documentation for libmicrohttpd
 Group:		Documentation
 Requires:	%{name} = %{version}-%{release}
+%if 0%{?fedora} >= 11
+BuildArch:	noarch
+%endif
 
 %description doc
 Doxygen documentation for libmicrohttpd and some example source code
@@ -59,7 +61,7 @@
 mv tmp doc/Doxyfile
 
 %build
-%configure --disable-static
+%configure --disable-static --enable-messages --enable-https
 make %{?_smp_mflags}
 doxygen doc/Doxyfile
 
@@ -104,6 +106,7 @@
 %defattr(-,root,root,-)
 %{_includedir}/microhttpd.h
 %{_libdir}/libmicrohttpd.so
+%{_libdir}/pkgconfig/libmicrohttpd.pc
 
 %files doc
 %defattr(-,root,root,-)
@@ -114,6 +117,14 @@
 %doc html
 
 %changelog
+* Fri Feb 27 2009 Erik van Pienbroek <info at nntpgrab.nl> - 0.4.0a-1
+- Update to version 0.4.0a
+- Drop upstreamed patch
+- Added a new patch to fix a 64bit issue
+- The -devel package now contains a pkgconfig file
+- The configure script is now run with '--enable-messages --enable-https'
+- Made the -doc subpackage noarch (F11+)
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


--- libmicrohttpd_fix_0_4_0_testcase.patch DELETED ---




More information about the fedora-extras-commits mailing list