[mingw-libsoup: 21/30] Update to 2.36.0

Kalev Lember kalev at fedoraproject.org
Tue Mar 6 19:35:26 UTC 2012


commit 43cb3f96a441bb85ffcd0811277f154d7e4cc200
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Oct 2 23:00:07 2011 +0300

    Update to 2.36.0
    
    - Spec cleanup for recent rpmbuild

 .gitignore           |    1 +
 mingw32-libsoup.spec |   27 +++++++++++----------------
 sources              |    2 +-
 3 files changed, 13 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index be9e9f6..4a2cd7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ libsoup-2.28.1.tar.bz2
 /libsoup-2.32.0.tar.bz2
 /libsoup-2.34.0.tar.bz2
 /libsoup-2.34.1.tar.bz2
+/libsoup-2.36.0.tar.xz
diff --git a/mingw32-libsoup.spec b/mingw32-libsoup.spec
index f39f879..63cfc55 100644
--- a/mingw32-libsoup.spec
+++ b/mingw32-libsoup.spec
@@ -1,20 +1,19 @@
 %global __strip %{_mingw32_strip}
 %global __objdump %{_mingw32_objdump}
-%global _use_internal_dependency_generator 0
-%global __find_requires %{_mingw32_findrequires}
-%global __find_provides %{_mingw32_findprovides}
 %define __debug_install_post %{_mingw32_debug_install_post}
 
+# first two digits of version
+%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
 Name:		mingw32-libsoup
-Version:	2.34.1
-Release:	2%{?dist}
+Version:	2.36.0
+Release:	1%{?dist}
 Summary:	MinGW library for HTTP and XML-RPC functionality
 
 License:	LGPLv2
 Group:		Development/Libraries
 URL:		http://live.gnome.org/LibSoup
-Source		http://download.gnome.org/sources/libsoup/2.32/libsoup-%{version}.tar.bz2
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:	http://download.gnome.org/sources/libsoup/%{release_version}/libsoup-%{version}.tar.xz
 
 BuildArch:	noarch
 
@@ -53,7 +52,7 @@ Group:		Development/Libraries
 Static version of the MinGW Windows Libsoup library.
 
 
-%{_mingw32_debug_package}
+%{?_mingw32_debug_package}
 
 
 %prep
@@ -86,8 +85,6 @@ popd
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 # First install all the files belonging to the shared build
 make -C build_shared DESTDIR=$RPM_BUILD_ROOT install
 
@@ -106,12 +103,7 @@ rm -rf $RPM_BUILD_ROOT/build_static
 rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files 
-%defattr(-,root,root,-)
 %doc COPYING
 %{_mingw32_bindir}/libsoup-2.4-1.dll
 %{_mingw32_bindir}/libsoup-gnome-2.4-1.dll
@@ -125,12 +117,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_libdir}/pkgconfig/libsoup-gnome-2.4.pc
 
 %files static
-%defattr(-,root,root,-)
 %{_mingw32_libdir}/libsoup-2.4.a
 %{_mingw32_libdir}/libsoup-gnome-2.4.a
 
 
 %changelog
+* Sun Oct 02 2011 Kalev Lember <kalevlember at gmail.com> - 2.36.0-1
+- Update to 2.36.0
+- Spec cleanup for recent rpmbuild
+
 * Thu Jul 07 2011 Kalev Lember <kalevlember at gmail.com> - 2.34.1-2
 - Rebuilt against win-iconv
 
diff --git a/sources b/sources
index 863c1f4..70afa2f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-846779d898c11f97b5de28a79ea82254  libsoup-2.34.1.tar.bz2
+2da7b72c43214c0f03411b67f0641eff  libsoup-2.36.0.tar.xz


More information about the scm-commits mailing list