Hello community,

here is the log from the commit of package libasn1c for openSUSE:Factory 
checked in at 2020-09-17 14:42:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libasn1c (Old)
 and      /work/SRC/openSUSE:Factory/.libasn1c.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libasn1c"

Thu Sep 17 14:42:16 2020 rev:7 rq:832607 version:0.9.32

Changes:
--------
--- /work/SRC/openSUSE:Factory/libasn1c/libasn1c.changes        2019-08-22 
10:50:03.921718462 +0200
+++ /work/SRC/openSUSE:Factory/.libasn1c.new.4249/libasn1c.changes      
2020-09-17 14:45:13.259588609 +0200
@@ -1,0 +2,7 @@
+Sun Sep  6 11:45:01 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Remove old specfile constructs.
+- Move headers to distinct directory to enforce pkg-config
+  correctness on library users.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libasn1c.spec ++++++
--- /var/tmp/diff_new_pack.tlZb7w/_old  2020-09-17 14:45:17.291592458 +0200
+++ /var/tmp/diff_new_pack.tlZb7w/_new  2020-09-17 14:45:17.291592458 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libasn1c
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,14 +22,13 @@
 Summary:        Osmocon ASN.1 decoder and encoder library
 License:        BSD-2-Clause
 Group:          Development/Libraries/C and C++
-Url:            http://openbsc.osmocom.org/trac/
+URL:            https://git.osmocom.org/libasn1c
 
 Source:         %name-%version.tar.xz
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config
 BuildRequires:  xz
 BuildRequires:  pkgconfig(libosmocore) >= 0.1.13
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Lev Walkins's asn1c runtime, as a shared library and with
@@ -66,20 +65,21 @@
 applications that want to make use of libasn1c.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-echo %version >.tarball-version
+echo "%version" >.tarball-version
 autoreconf -fi
-%configure --disable-static
-make %{?_smp_mflags}
+# bugzilla.opensuse.org/795968 for rationale
+%configure --disable-static --includedir="%_includedir/%name"
+%make_build
 
 %install
 %make_install
 find "%buildroot/%_libdir" -type f -name "*.la" -delete
 
 %check
-if ! make check %{?_smp_mflags}; then
+if ! %make_build check; then
        find . -name testsuite.log -exec cat "{}" "+"
 fi
 
@@ -87,13 +87,11 @@
 %postun -n libasn1c1 -p /sbin/ldconfig
 
 %files -n libasn1c1
-%defattr(-,root,root)
 %_libdir/libasn1c.so.1*
 
 %files -n libasn1c-devel
-%defattr(-,root,root)
-%doc COPYING
-%_includedir/asn1c/
+%license COPYING
+%_includedir/%name/
 %_libdir/pkgconfig/*.pc
 %_libdir/libasn1c.so
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.tlZb7w/_old  2020-09-17 14:45:17.319592484 +0200
+++ /var/tmp/diff_new_pack.tlZb7w/_new  2020-09-17 14:45:17.323592488 +0200
@@ -1,7 +1,7 @@
 <services>
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
-               <param name="url">git://git.osmocom.org/libasn1c</param>
+               <param name="url">https://git.osmocom.org/libasn1c</param>
                <param name="revision">master</param>
                <param name="parent-tag">0.9.32</param>
                <param name="versionformat">0.9.32</param>


Reply via email to