Hello community, here is the log from the commit of package libustr for openSUSE:Factory checked in at 2019-02-26 22:13:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libustr (Old) and /work/SRC/openSUSE:Factory/.libustr.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libustr" Tue Feb 26 22:13:36 2019 rev:29 rq:678014 version:1.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libustr/libustr.changes 2019-02-17 12:18:29.340247566 +0100 +++ /work/SRC/openSUSE:Factory/.libustr.new.28833/libustr.changes 2019-02-26 22:13:45.426245875 +0100 @@ -1,0 +2,11 @@ +Fri Feb 15 13:09:18 UTC 2019 - Jan Engelhardt <[email protected]> + +- Ensure neutrality of descriptions. +- Kill libustr-devel-static package, which is not used by + anything. +- Use standard %_libdir location for files. +- Make build recipe more plain sh compatible. +- Remove superfluous pkgconfig require (rpm autodetect this). +- Move remaining developer documentation to libustr-devel. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libustr.spec ++++++ --- /var/tmp/diff_new_pack.xKT40H/_old 2019-02-26 22:13:46.174245613 +0100 +++ /var/tmp/diff_new_pack.xKT40H/_new 2019-02-26 22:13:46.174245613 +0100 @@ -20,7 +20,7 @@ Version: 1.0.4 Release: 0 Url: http://www.and.org/ustr/ -Summary: String library, very low memory overhead, simple to import +Summary: A string library License: MIT OR LGPL-2.1-or-later OR BSD-2-Clause Group: Development/Languages/C and C++ Source: http://www.and.org/ustr/%{version}/ustr-%{version}.tar.bz2 @@ -32,41 +32,27 @@ BuildRequires: pkg-config %description -Micro string library, very low overhead from plain strdup() (Ave. 44% for -0-20B strings). Very easy to use in existing C code. At it's simplest you can -just include a single header file into your .c and start using it. -This package also distributes pre-built shared libraries. +A string library that uses plain strdup() (on average 44%% overhead for +0-20B strings). A single header file is provided. %package -n libustr-1_0-1 -Summary: String library, very low memory overhead, simple to import +Summary: A string library Group: System/Libraries %description -n libustr-1_0-1 -Micro string library, very low overhead from plain strdup() (Ave. 44% -for 0-20B strings). Very easy to use in existing C code. At it's -simplest you can just include a single header file into your .c and -start using it. This package also distributes pre-built shared -libraries. +A string library that uses plain strdup() (on average 44%% overhead for +0-20B strings). A single header file is provided. %package devel Summary: Development files for libustr Group: Development/Languages/C and C++ Requires: libustr-1_0-1 = %{version} -Requires: pkgconfig %description devel Header files for the Ustr string library, and the .so to link with. Also includes a %{name}.pc file for pkg-config usage. -Includes the ustr-import tool, for if you just want to include -the code in your projects ... you don't have to link to the shared lib. - -%package devel-static -Summary: Static development files for libustr -Group: Development/Languages/C and C++ -Requires: %{name}-devel - -%description devel-static -Static library for the Ustr string library. +It includes the ustr-import tool, for when the code shall be +bundled with projects. %prep %setup -q -n ustr-%{version} @@ -88,19 +74,16 @@ bindir=%{_bindir} \ mandir=%{_mandir} \ datadir=%{_datadir} \ - libdir=/%{_lib} \ + libdir=%{_libdir} \ includedir=%{_includedir} \ libexecdir=%{_libexecdir} \ - DESTDIR=$RPM_BUILD_ROOT \ + DESTDIR=%{buildroot} \ LDCONFIG=/bin/true \ HIDE= -rm -f $RPM_BUILD_ROOT/%{_lib}/*.so -rm -f $RPM_BUILD_ROOT/%{_lib}/{,pkgconfig}/*debug* -rm -rf $RPM_BUILD_ROOT%{_datadir}/doc -mkdir -p $RPM_BUILD_ROOT%{_libdir} -mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir} -mv $RPM_BUILD_ROOT/%{_lib}/*.a $RPM_BUILD_ROOT/%{_libdir} -ln -sf /%{_lib}/libustr-1.0.so.1 $RPM_BUILD_ROOT/%{_libdir}/libustr.so +rm -Rfv %{buildroot}/%{_libdir}/*.a %{buildroot}/%{_libdir}/*debug*.so \ + %{buildroot}/%{_libdir}/*debug* \ + %{buildroot}/%{_libdir}/pkgconfig/*debug* \ + %{buildroot}/%{_datadir}/doc %post -n libustr-1_0-1 -p /sbin/ldconfig @@ -109,11 +92,11 @@ %files -n libustr-1_0-1 %defattr(-,root,root,-) %license LICENSE* -%doc ChangeLog README NEWS -/%{_lib}/libustr-1.0.so.* +%{_libdir}/libustr-1.0.so.* %files devel %defattr(-,root,root,-) +%doc ChangeLog README NEWS %doc README-DEVELOPERS TODO Documentation/*.html Documentation/*.gnumeric %{_datadir}/ustr-%{version} %{_bindir}/ustr-import @@ -125,9 +108,4 @@ %{_mandir}/man1/* %{_mandir}/man3/* -%files devel-static -%defattr(-,root,root,-) -%license LICENSE* -%{_libdir}/libustr.a - %changelog
