commit libmetalink for openSUSE:Factory
Hello community, here is the log from the commit of package libmetalink for openSUSE:Factory checked in at 2018-05-28 08:07:07 Comparing /work/SRC/openSUSE:Factory/libmetalink (Old) and /work/SRC/openSUSE:Factory/.libmetalink.new (New) Package is "libmetalink" Mon May 28 08:07:07 2018 rev:7 rq:612309 version:0.1.3 Changes: --- /work/SRC/openSUSE:Factory/libmetalink/libmetalink.changes 2018-03-29 11:47:21.632218830 +0200 +++ /work/SRC/openSUSE:Factory/.libmetalink.new/libmetalink.changes 2018-05-28 08:07:11.143563620 +0200 @@ -1,0 +2,5 @@ +Thu May 24 10:36:02 CEST 2018 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + +--- Other differences: -- ++ libmetalink.spec ++ --- /var/tmp/diff_new_pack.115BdR/_old 2018-05-28 08:07:12.451515413 +0200 +++ /var/tmp/diff_new_pack.115BdR/_new 2018-05-28 08:07:12.455515266 +0200 @@ -92,7 +92,8 @@ %files -n libmetalink%{soname} %defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING README +%license COPYING +%doc AUTHORS ChangeLog README %{_libdir}/libmetalink.so.%{soname} %{_libdir}/libmetalink.so.%{soname}.*
commit libmetalink for openSUSE:Factory
Hello community, here is the log from the commit of package libmetalink for openSUSE:Factory checked in at 2018-03-29 11:47:20 Comparing /work/SRC/openSUSE:Factory/libmetalink (Old) and /work/SRC/openSUSE:Factory/.libmetalink.new (New) Package is "libmetalink" Thu Mar 29 11:47:20 2018 rev:6 rq:590597 version:0.1.3 Changes: --- /work/SRC/openSUSE:Factory/libmetalink/libmetalink.changes 2015-12-09 19:33:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.libmetalink.new/libmetalink.changes 2018-03-29 11:47:21.632218830 +0200 @@ -1,0 +2,8 @@ +Wed Mar 21 19:36:12 UTC 2018 - crrodrig...@opensuse.org + +- libmetalink-autotools.patch: update, export only + metalink_ symbols using -export-symbols-regex, there + is an upstream configure option --enable-gcc-visibility + but it is currently incomplete and cannot be used as is + +--- Other differences: -- ++ libmetalink.spec ++ --- /var/tmp/diff_new_pack.PiI9yR/_old 2018-03-29 11:47:22.504187408 +0200 +++ /var/tmp/diff_new_pack.PiI9yR/_new 2018-03-29 11:47:22.504187408 +0200 @@ -1,7 +1,7 @@ # -# spec file for package spec +# spec file for package libmetalink # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ libmetalink-autotools.patch ++ --- /var/tmp/diff_new_pack.PiI9yR/_old 2018-03-29 11:47:22.536186255 +0200 +++ /var/tmp/diff_new_pack.PiI9yR/_new 2018-03-29 11:47:22.536186255 +0200 @@ -1,3 +1,5 @@ +Index: configure.ac +=== --- configure.ac.orig +++ configure.ac @@ -22,9 +22,6 @@ @@ -10,7 +12,7 @@ dnl See versioning rule: dnl http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html AC_SUBST(LT_CURRENT, 4) -@@ -63,7 +61,10 @@ AC_ARG_ENABLE([gcc-visibility], +@@ -66,7 +63,10 @@ AC_ARG_ENABLE([gcc-visibility], [gcc_visibility=$withval], [gcc_visibility=no]) # Checks for programs @@ -22,6 +24,8 @@ AC_PROG_INSTALL # Package version +Index: lib/libexpat_metalink_parser.c +=== --- lib/libexpat_metalink_parser.c.orig +++ lib/libexpat_metalink_parser.c @@ -130,7 +130,7 @@ METALINK_PUBLIC @@ -33,6 +37,8 @@ if(docfp == NULL) return METALINK_ERR_CANNOT_OPEN_FILE; r = metalink_parse_fp(docfp, res); +Index: lib/Makefile.am +=== --- lib/Makefile.am.orig +++ lib/Makefile.am @@ -1,7 +1,7 @@ @@ -45,12 +51,17 @@ @DEFS@ pkgconfigdir = $(libdir)/pkgconfig -@@ -60,4 +60,4 @@ endif +@@ -57,6 +57,6 @@ OBJECTS += libexpat_metalink_parser.c + endif + libmetalink_la_SOURCES = $(HFILES) $(OBJECTS) - libmetalink_la_LDFLAGS = -no-undefined \ +-libmetalink_la_LDFLAGS = -no-undefined \ ++libmetalink_la_LDFLAGS = -no-undefined -export-symbols-regex '^metalink_'\ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ - @XML_LIBS@ @EXPAT_LIBS@ + @EXPAT_LIBS@ +Index: test/Makefile.am +=== --- test/Makefile.am.orig +++ test/Makefile.am @@ -11,7 +11,7 @@ metalinktest_SOURCES = \
commit libmetalink for openSUSE:Factory
Hello community, here is the log from the commit of package libmetalink for openSUSE:Factory checked in at 2015-12-09 19:33:19 Comparing /work/SRC/openSUSE:Factory/libmetalink (Old) and /work/SRC/openSUSE:Factory/.libmetalink.new (New) Package is "libmetalink" Changes: --- /work/SRC/openSUSE:Factory/libmetalink/libmetalink.changes 2012-11-28 10:58:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.libmetalink.new/libmetalink.changes 2015-12-09 19:33:20.0 +0100 @@ -1,0 +2,11 @@ +Tue Dec 1 15:14:18 UTC 2015 - p.drou...@gmail.com + +- Update to version 0.1.3 + * This release fixes the bug that signature element in metalink v4 +was not parsed correctly. +- Update libmetalink-autotools.patch +- Use download Url as source +- Perform a spec-cleaner +- Build with libxml2 and cunit support + +--- Old: libmetalink-0.1.2.tar.bz2 New: libmetalink-0.1.3.tar.xz Other differences: -- ++ libmetalink.spec ++ --- /var/tmp/diff_new_pack.abkfgI/_old 2015-12-09 19:33:21.0 +0100 +++ /var/tmp/diff_new_pack.abkfgI/_new 2015-12-09 19:33:21.0 +0100 @@ -1,8 +1,7 @@ -# vim: set sw=3 ts=3 noet: # -# spec file for package libmetalink +# spec file for package spec # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +17,29 @@ %define soname 3 - Name: libmetalink -Version:0.1.2 +Version:0.1.3 Release:0 Summary:Metalink Library License:MIT Group: System/Libraries -Source: %{name}-%{version}.tar.bz2 Url:https://launchpad.net/libmetalink -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libexpat-devel +Source: https://launchpad.net/libmetalink/trunk/libmetalink-%{version}/+download/%{name}-%{version}.tar.xz +Patch0: libmetalink-autotools.patch BuildRequires: libtool BuildRequires: pkgconfig -Patch: libmetalink-autotools.patch +%if 0%{?suse_version} > 1310 +BuildRequires: pkgconfig(cunit) +%endif +%if 0%{?suse_version} >= 1310 +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(libxml-2.0) +%else +BuildRequires: libexpat-devel +BuildRequires: libxml2-devel +%endif +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libmetalink is a Metalink library written in C language. It is intended to @@ -47,13 +55,6 @@ provide the programs written in C to add Metalink functionality such as parsing Metalink XML files. - - - -Authors: - -Tatsuhiro Tsujikawa- %package -n libmetalink-devel Summary:Metalink Library Group: Development/Libraries/C and C++ @@ -67,7 +68,7 @@ %prep %setup -q -%patch +%patch0 %build autoreconf -fiv @@ -75,21 +76,19 @@ --disable-static \ --with-libexpat -%__make %{?jobs:-j%{jobs}} +make %{?_smp_mflags} %install -%makeinstall -%__rm -rf "%{buildroot}%{_datadir}/doc" -%__rm "%{buildroot}%{_libdir}"/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +rm -rf "%{buildroot}%{_datadir}/doc" +find %{buildroot} -type f -name "*.la" -delete -print %post -n libmetalink%{soname} -p /sbin/ldconfig + %postun -n libmetalink%{soname} -p /sbin/ldconfig %check -%__make test - -%clean -%__rm -rf "%{buildroot}" +make %{?_smp_mflags} test %files -n libmetalink%{soname} %defattr(-,root,root) @@ -104,9 +103,4 @@ %{_libdir}/pkgconfig/libmetalink.pc %{_mandir}/man3/metalink*.3* -# Local Variables: -# mode: rpm-spec -# tab-width: 3 -# End: - %changelog ++ libmetalink-autotools.patch ++ --- /var/tmp/diff_new_pack.abkfgI/_old 2015-12-09 19:33:21.0 +0100 +++ /var/tmp/diff_new_pack.abkfgI/_new 2015-12-09 19:33:21.0 +0100 @@ -1,14 +1,15 @@ --- configure.ac.orig +++ configure.ac -@@ -21,8 +21,6 @@ - # THE SOFTWARE. +@@ -22,9 +22,6 @@ AC_PREREQ(2.61) - AC_INIT([libmetalink], [0.1.2], [t-tujik...@users.sourceforge.net]) + AC_INIT([libmetalink], [0.1.3], [t-tujik...@users.sourceforge.net]) + -LT_PREREQ([2.2.6]) -LT_INIT() - +- dnl See versioning rule: dnl http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html + AC_SUBST(LT_CURRENT, 4) @@ -63,7 +61,10 @@ AC_ARG_ENABLE([gcc-visibility], [gcc_visibility=$withval], [gcc_visibility=no]) @@ -21,20 +22,6 @@ AC_PROG_INSTALL # Package version -@@ -81,13 +82,6 @@ if test "x$with_libexpat" = "xyes"; then - AM_PATH_LIBEXPAT