Hello community, here is the log from the commit of package cdecl for openSUSE:Factory checked in at 2019-12-18 14:46:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cdecl (Old) and /work/SRC/openSUSE:Factory/.cdecl.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdecl" Wed Dec 18 14:46:34 2019 rev:11 rq:757692 version:6.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cdecl/cdecl.changes 2015-06-15 17:49:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cdecl.new.4691/cdecl.changes 2019-12-18 14:48:47.273951502 +0100 @@ -1,0 +2,36 @@ +Mon Dec 16 15:57:23 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to release 6.6.2 + * Command-line long-options. + * Distinguishes among K&R C, C89, C95, C99, C11, C18, C++98, + C++03, C++11, C++14, C++17, and C++20. + * Support for C89 const, restrict, and volatile declarations. + * Support for the standard C95 type wchar_t. + * Support for the standard C99 types _Bool, _Complex, + _Imaginary, int8_t, int16_t, ptrdiff_t, size_t, etc. + * Support for C99 static, type-qualified, and variable length + array function arguments. + * Support for the standard C11 atomic types atomic_bool, + atomic_char, etc. + * Support for the standard C11 and C++11 types char16_t, + char32_t, and thread_local. + * Support for inline function and variable declarations. + * Support for typedef declarations. + * Support for variadic function arguments. + * Support for C and C++ alternative tokens (and, and_eq, etc.). + * Support for C++ mutable data members, namespaces and scoped + names, new-style casts, throw, overloaded operators, and + friend, virtual and pure virtual member function + declarations, and user-defined conversion operators. + * Support for C++11 constexpr, enum class, final, noexcept, + override, rvalue references, user-defined literals, using (as + a typedef synonym), the function trailing return-type syntax, + and ref-qualified member function declarations. + * Support for C++ [[carries_dependency]], [[deprecated]], + [[maybe_unused]], [[nodiscard]], and [[noreturn]] attribute + specifiers. + * Better warning and error messages complete with location + information and color. +- Drop cdecl-2.5-deb11.diff + +------------------------------------------------------------------- Old: ---- cdecl-2.5-deb11.diff cdecl-2.5.tar.xz keyword-identifier.patch New: ---- cdecl-6.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cdecl.spec ++++++ --- /var/tmp/diff_new_pack.Zvvbju/_old 2019-12-18 14:48:47.933951804 +0100 +++ /var/tmp/diff_new_pack.Zvvbju/_new 2019-12-18 14:48:47.937951806 +0100 @@ -1,7 +1,7 @@ # # spec file for package cdecl # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,23 @@ # 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/ # - Name: cdecl -Version: 2.5 -Release: 1 -Group: Development/Languages/C and C++ +Version: 6.6.2 +Release: 0 Summary: C/C++ function declaration translator -Url: ftp://ftp.oss.cc.gatech.edu/pub/linux/devel/lang/c/cdecl-2.5.tar.gz -License: SUSE-Public-Domain +License: GPL-3.0-or-later +Group: Development/Languages/C and C++ +URL: https://github.com/paul-j-lucas/cdecl/ -Source: %name-%version.tar.xz -Patch1: %name-2.5-deb11.diff -Patch2: keyword-identifier.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: bison flex readline-devel xz +Source: https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-6.6.2/cdecl-6.6.2.tar.gz +BuildRequires: bison +BuildRequires: flex +BuildRequires: ncurses-devel +BuildRequires: readline-devel %description Turn English phrases to C or C++ declarations Cdecl is a program @@ -41,21 +40,17 @@ library. %prep -%setup -%patch -P 1 -P 2 -p1 +%autosetup -p1 %build -make CFLAGS="%optflags -DUSE_READLINE -DOLD_READLINE" %{?_smp_mflags}; +%configure %install -b="%buildroot"; -install -dm0755 "$b/%_bindir"; -install -dm0755 "$b/%_mandir/man1"; -make install BINDIR="$b/%_bindir" MANDIR="$b/%_mandir/man1"; +%make_install %files -%defattr(-,root,root) %_bindir/* %_mandir/*/* +%license COPYING %changelog
