Hello community, here is the log from the commit of package ldc for openSUSE:Factory checked in at 2018-07-31 16:02:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ldc (Old) and /work/SRC/openSUSE:Factory/.ldc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ldc" Tue Jul 31 16:02:45 2018 rev:2 rq:626466 version:1.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ldc/ldc.changes 2018-07-06 10:41:18.255304096 +0200 +++ /work/SRC/openSUSE:Factory/.ldc.new/ldc.changes 2018-07-31 16:02:48.255893605 +0200 @@ -1,0 +2,13 @@ +Mon Jul 30 09:55:27 UTC 2018 - matthias.eliasson@gmail.com + +- Remove _sysconfdir from phobos-devel filelist and add etc since its a + d package name. spec-cleaner was to eager to clean. + +------------------------------------------------------------------- +Sat Jul 28 14:03:46 UTC 2018 - matthias.eliasson@gmail.com + +- Update so_ver to 80 for libdruntime-ldc and libphobos2-ldc to + match version in 1.10.0 release of ldc. +- Run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ldc.spec ++++++ --- /var/tmp/diff_new_pack.iMgJTL/_old 2018-07-31 16:02:48.971894824 +0200 +++ /var/tmp/diff_new_pack.iMgJTL/_new 2018-07-31 16:02:48.979894837 +0200 @@ -15,19 +15,35 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +%define so_ver 80 +%define lname_runtime libdruntime-%{name} +%define lname_phobos libphobos2-%{name} %bcond_without ldc_bootstrap %bcond_with ldc_tests - Name: ldc Version: 1.10.0 Release: 0 Summary: The LLVM D Compiler License: BSD-3-Clause AND Artistic-1.0 Group: Development/Languages/Other -Url: https://wiki.dlang.org/LDC +URL: https://wiki.dlang.org/LDC Source0: https://github.com/ldc-developers/ldc/releases/download/v%{version}/ldc-%{version}-src.tar.gz Source1: %{name}-rpmlintrc Patch0: ldc-1.9.0-fix_arm_build.patch +BuildRequires: cmake +BuildRequires: help2man +BuildRequires: libconfig++-devel +BuildRequires: libcurl-devel +BuildRequires: libstdc++-devel +BuildRequires: llvm-clang +BuildRequires: llvm-devel >= 3.7 +BuildRequires: ncurses-devel +BuildRequires: sqlite3-devel +BuildRequires: zlib-devel +# Should be installed, at least runtime +Recommends: ldc-phobos-devel = %{version} +Recommends: ldc-runtime-devel = %{version} %if %{with ldc_bootstrap} # v0.17.5 is the last version buildable with a C++ compiler, so use it for bootstrapping Source10: https://github.com/ldc-developers/ldc/releases/download/v0.17.5/ldc-0.17.5-s... @@ -36,39 +52,22 @@ Patch12: ldc-0.17.5-add_missing_include.patch Patch13: ldc-0.17.5-default-to-pic.patch %endif -BuildRequires: cmake %if %{with ldc_tests} BuildRequires: gcc-c++ BuildRequires: gdb %endif -BuildRequires: help2man -BuildRequires: libconfig++-devel -BuildRequires: libcurl-devel -BuildRequires: libstdc++-devel %if %{without ldc_bootstrap} BuildRequires: ldc BuildRequires: ldc-phobos-devel BuildRequires: ldc-runtime-devel %endif -BuildRequires: llvm-clang -BuildRequires: llvm-devel >= 3.7 -BuildRequires: ncurses-devel %if %{with ldc_tests} BuildRequires: python %endif -BuildRequires: sqlite3-devel %if %{with ldc_tests} BuildRequires: timezone BuildRequires: unzip %endif -BuildRequires: zlib-devel -# Should be installed, at least runtime -Recommends: ldc-phobos-devel = %{version} -Recommends: ldc-runtime-devel = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define so_ver 68 -%define lname_runtime libdruntime-%{name} -%define lname_phobos libphobos2-%{name} %if %{with ldc_bootstrap} # We cannot build v0.17.5 for aarch64 due to no aarch64 support in phobos, so bootstrap is impossible ExcludeArch: aarch64 @@ -133,6 +132,7 @@ #Needs to be compiled with clang, but opensuse_rules.cmake forces gcc so disable rule touch ./no-suse-rules mkdir build && pushd build +# FIXME: you should use %%cmake macros cmake \ -DCMAKE_USER_MAKE_RULES_OVERRIDE=./no-suse-rules \ -DCMAKE_C_COMPILER="%{_bindir}/clang" \ @@ -160,7 +160,7 @@ %if %{with ldc_tests} %check pushd build/ -make test +make %{?_smp_mflags} test popd %endif @@ -171,32 +171,27 @@ help2man %{buildroot}%{_bindir}/ldmd2 > ldmd2.1 && gzip ldmd2.1 install -d %{buildroot}%{_mandir}/man1 install -m 644 -t %{buildroot}%{_mandir}/man1/ ldmd2.1.gz ldc2.1.gz -rm -rf %{buildroot}/usr/lib/debug +rm -rf %{buildroot}%{_libexecdir}/debug %post -n %{lname_runtime}%{so_ver} -p /sbin/ldconfig - %post -n %{lname_phobos}%{so_ver} -p /sbin/ldconfig - %postun -n %{lname_runtime}%{so_ver} -p /sbin/ldconfig - %postun -n %{lname_phobos}%{so_ver} -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc LICENSE README.md -%doc %{_mandir}/man1/*.1.gz +%license LICENSE +%doc README.md +%{_mandir}/man1/*.1%{?ext_man} %config %{_sysconfdir}/bash_completion.d/ldc2 %config %{_sysconfdir}/ldc2.conf %{_bindir}/ldc* %{_bindir}/ldmd2 %files -n %{lname_runtime}%{so_ver} -%defattr(-,root,root) %{_libdir}/%{lname_runtime}-shared.so.* %{_libdir}/%{lname_runtime}-debug-shared.so.* %files runtime-devel -%defattr(-,root,root) %{_libdir}/%{lname_runtime}-shared.so %{_libdir}/%{lname_runtime}-debug-shared.so %dir %{_includedir}/d @@ -204,12 +199,10 @@ %{_includedir}/d/core %files -n %{lname_phobos}%{so_ver} -%defattr(-,root,root) %{_libdir}/%{lname_phobos}-shared.so.* %{_libdir}/%{lname_phobos}-debug-shared.so.* %files phobos-devel -%defattr(-,root,root) %{_libdir}/%{lname_phobos}-shared.so %{_libdir}/%{lname_phobos}-debug-shared.so %{_includedir}/d/std