Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package patterns-devel-C-C++ for 
openSUSE:Factory checked in at 2022-10-10 18:44:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/patterns-devel-C-C++ (Old)
 and      /work/SRC/openSUSE:Factory/.patterns-devel-C-C++.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "patterns-devel-C-C++"

Mon Oct 10 18:44:05 2022 rev:4 rq:1008135 version:20170319

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/patterns-devel-C-C++/patterns-devel-C-C++.changes    
    2018-10-04 18:58:02.319434939 +0200
+++ 
/work/SRC/openSUSE:Factory/.patterns-devel-C-C++.new.2275/patterns-devel-C-C++.changes
      2022-10-10 18:44:25.790851517 +0200
@@ -1,0 +2,18 @@
+Mon Aug 22 02:40:15 UTC 2022 - Luciano Santos <luc1...@opensuse.org>
+
+- Add gcc-c++ as a hard requirement to not rely only on the
+  devel_basis Pattern where it only recommends gcc-c++. This is to
+  ensure that users that disable recommended package installation
+  in Zypper's configuration file or pass the --no-recommended
+  option flag to the Zypper command won't ironically end up without
+  a C++ compiler.
+- Add libstdc++-devel as a hard requirement for the same reason as
+  gcc-c++ above, to ensure it gets installed.
+- Drop no longer needed BuildRoot tag due to its deprecation.
+- Replace $RPM_BUILD_ROOT/usr/share/doc/packages with %{buildroot}\
+  %{_defaultdocdir}, in the files section, following our best
+  practices.
+- Build package as a "noarch" since it doesn't contain anything
+  architecture-specific.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ patterns-devel-C-C++.spec ++++++
--- /var/tmp/diff_new_pack.1MLWiR/_old  2022-10-10 18:44:26.398852826 +0200
+++ /var/tmp/diff_new_pack.1MLWiR/_new  2022-10-10 18:44:26.402852835 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package patterns-devel-C-C++
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,10 +24,11 @@
 Summary:        Patterns for Installation (C/C++ devel pattern)
 License:        MIT
 Group:          Metapackages
-Url:            https://github.com/openSUSE/patterns
-Source0:        %{name}-rpmlintrc
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+URL:            https://github.com/openSUSE/patterns
+Source0:        patterns-devel-C-C++-rpmlintrc
+
 BuildRequires:  patterns-rpm-macros
+BuildArch:      noarch
 
 %description
 This is an internal package that is used to create the patterns as part
@@ -48,23 +49,32 @@
 Provides:       pattern-visible()
 Requires:       pattern() = devel_basis
 
-Recommends:     glibc-info
+#
+# Ensure openSUSE users will have a functional development environment.
+# Hard require gcc-c++ and libstdc++-devel as they are only soft required by
+# devel_basis Pattern.
+#
+Requires:       gcc-c++
+Requires:       libstdc++-devel
+
 Recommends:     boost-devel
 Recommends:     boost-jam
+Recommends:     glibc-info
+Recommends:     ltrace
 Recommends:     posix_cc
 Recommends:     swig
 Recommends:     valgrind
-Recommends:     ltrace
 # 403368
 Suggests:       dejagnu
 Suggests:       expect
 
 %description devel_C_C++
-Tools and libraries for software development using C/C++ and other derivative 
of the C programming language.
+Tools and libraries for software development using C/C++ and other derivative
+of the C programming language.
 
 %files devel_C_C++
-%dir /usr/share/doc/packages/patterns
-/usr/share/doc/packages/patterns/devel_C_C++.txt
+%dir %{_defaultdocdir}/patterns/
+%{_defaultdocdir}/patterns/devel_C_C++.txt
 
 
################################################################################
 
@@ -73,7 +83,8 @@
 %build
 
 %install
-mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns
-echo 'This file marks the pattern devel_C_C++ to be installed.' > 
$RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_C_C++.txt
+mkdir -p %{buildroot}%{_defaultdocdir}/patterns
+echo 'This file marks the pattern devel_C_C++ to be installed.' \
+    > %{buildroot}%{_defaultdocdir}/patterns/devel_C_C++.txt
 
 %changelog

++++++ patterns-devel-C-C++-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.1MLWiR/_old  2022-10-10 18:44:26.442852921 +0200
+++ /var/tmp/diff_new_pack.1MLWiR/_new  2022-10-10 18:44:26.446852929 +0200
@@ -1,4 +1,8 @@
-addFilter("W: no-binary");
+#
+# Safe to ignore Warnings/Errors
+#
 
+addFilter("E: explicit-lib-dependency");
+addFilter("E: devel-dependency");
 
 

Reply via email to