Hello community, here is the log from the commit of package dtc for openSUSE:Factory checked in at 2015-12-18 21:49:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dtc (Old) and /work/SRC/openSUSE:Factory/.dtc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dtc" Changes: -------- --- /work/SRC/openSUSE:Factory/dtc/dtc.changes 2015-11-23 07:29:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dtc.new/dtc.changes 2015-12-18 21:49:46.000000000 +0100 @@ -1,0 +2,11 @@ +Sat Dec 12 16:30:13 UTC 2015 - [email protected] + +- Obsolete old devel package as well + +------------------------------------------------------------------- +Sat Dec 5 10:22:44 UTC 2015 - [email protected] + +- Cleanup spec file with spec-cleaner +- Dont include soname version in devel package name + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dtc.spec ++++++ --- /var/tmp/diff_new_pack.4CzYgO/_old 2015-12-18 21:49:47.000000000 +0100 +++ /var/tmp/diff_new_pack.4CzYgO/_new 2015-12-18 21:49:47.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package dtc # -# Copyright (c) 2015 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 @@ -16,20 +16,21 @@ # +%define sover 1 Name: dtc -Url: http://devicetree.org/Device_Tree_Compiler Version: 1.4.1 Release: 0 -BuildRequires: bison -BuildRequires: flex Summary: Device-tree compiler License: GPL-2.0+ Group: Development/Tools/Building -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://devicetree.org/Device_Tree_Compiler Source: https://www.kernel.org/pub/software/utils/dtc/%{name}-%{version}.tar.xz Source2: baselibs.conf Patch3: dtc-license.patch Patch4: use-tx-as-the-type-specifier-instead-of-zx.patch +BuildRequires: bison +BuildRequires: flex +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PowerPC kernels are moving towards requiring a small Open @@ -40,22 +41,23 @@ systems (since their topology will not vary across reboots). DTC is available via a git tree: git://ozlabs.org/srv/projects/dtc/dtc.git -%package -n libfdt1 - +%package -n libfdt%{sover} Summary: Device tree library Group: Development/Libraries/C and C++ -%description -n libfdt1 +%description -n libfdt%{sover} libfdt is a library to process Open Firmware style device trees on various architectures. -%package -n libfdt1-devel - +%package -n libfdt-devel Summary: Development headers for device tree library Group: Development/Libraries/C and C++ -Requires: libfdt1 = %{version} +Requires: libfdt%{sover} = %{version}-%{release} +# Provide previously used incorrectly named devel package +Provides: libfdt1-devel = %{version}-%{release} +Obsoletes: libfdt1-devel < %{version}-%{release} -%description -n libfdt1-devel +%description -n libfdt-devel This package provides development files for libfdt %prep @@ -67,8 +69,8 @@ make %{?_smp_mflags} %install -%makeinstall PREFIX=/usr LIBDIR=%{_libdir} -install -m 644 libfdt/libfdt_env.h $RPM_BUILD_ROOT/%{_includedir} +make DESTDIR=%{buildroot} install %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir} +install -m 644 libfdt/libfdt_env.h %{buildroot}/%{_includedir} rm -f %{buildroot}/%{_libdir}/*.a %files @@ -81,13 +83,17 @@ %{_bindir}/fdtget %{_bindir}/fdtput -%files -n libfdt1 +%post -n libfdt%{sover} -p /sbin/ldconfig + +%postun -n libfdt%{sover} -p /sbin/ldconfig + +%files -n libfdt%{sover} %defattr(-,root,root,-) %doc GPL %{_libdir}/libfdt-%{version}.so %{_libdir}/libfdt.so.* -%files -n libfdt1-devel +%files -n libfdt-devel %defattr(-,root,root,-) %{_libdir}/libfdt.so %{_includedir}/* ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.4CzYgO/_old 2015-12-18 21:49:47.000000000 +0100 +++ /var/tmp/diff_new_pack.4CzYgO/_new 2015-12-18 21:49:47.000000000 +0100 @@ -1,2 +1,2 @@ libfdt1 -libfdt1-devel +libfdt-devel
