Accepting request 1189784 from devel:languages:ruby:extensions
- Added gcc14.patch dont error our because of missing returns - New upstream release 2.2.7.3, no changelog found - New upstream release 2.2.7.1, no changelog found OBS-URL: https://build.opensuse.org/request/show/1189784 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-rdiscount?expand=0&rev=4
This commit is contained in:
commit
adbfdfc7f0
12
gcc14.patch
Normal file
12
gcc14.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: rdiscount-2.2.7.3/ext/extconf.rb
|
||||
===================================================================
|
||||
--- rdiscount-2.2.7.3.orig/ext/extconf.rb
|
||||
+++ rdiscount-2.2.7.3/ext/extconf.rb
|
||||
@@ -34,6 +34,7 @@ end
|
||||
|
||||
$defs.push("-DVERSION=\\\"#{VERSION}\\\"")
|
||||
$defs.push("-DBRANCH=\"\"")
|
||||
+$CFLAGS += " -Wno-error=return-type "
|
||||
|
||||
# Post XCode 5.1 the command line tools on OS X treat unrecognised
|
||||
# command line options as errors and it's been seen that
|
@ -31,6 +31,9 @@
|
||||
# ## used by gem2rpm
|
||||
:sources:
|
||||
- rubygem-rdiscount-rpmlintrc
|
||||
- series
|
||||
:patches:
|
||||
gcc14.patch: -p1
|
||||
# - foo.desktop
|
||||
# - bar.desktop
|
||||
# :gem_install_args: '....'
|
||||
|
3
rdiscount-2.2.7.3.gem
Normal file
3
rdiscount-2.2.7.3.gem
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a4844f930916fc7215dc369932626be85f2da13cdf48185b836055b63126113
|
||||
size 75776
|
BIN
rdiscount-2.2.7.gem
(Stored with Git LFS)
BIN
rdiscount-2.2.7.gem
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 13:11:32 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Added gcc14.patch
|
||||
dont error our because of missing returns
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 13:01:16 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- New upstream release 2.2.7.3, no changelog found
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 14 15:29:20 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
|
||||
|
||||
- New upstream release 2.2.7.1, no changelog found
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 28 05:04:40 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rubygem-rdiscount
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -24,7 +24,7 @@
|
||||
#
|
||||
|
||||
Name: rubygem-rdiscount
|
||||
Version: 2.2.7
|
||||
Version: 2.2.7.3
|
||||
Release: 0
|
||||
%define mod_name rdiscount
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
@ -36,31 +36,37 @@ Conflicts: ruby = 1.9.2
|
||||
# translated by gem2rpm
|
||||
BuildRequires: ruby-devel > 1.9.2
|
||||
# /MANUAL
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: ruby-macros >= 5
|
||||
BuildRequires: %{rubydevel}
|
||||
BuildRequires: %{rubygem gem2rpm}
|
||||
BuildRequires: ruby-macros >= 5
|
||||
BuildRequires: update-alternatives
|
||||
URL: http://dafoster.net/projects/rdiscount/
|
||||
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
||||
Source1: rubygem-rdiscount-rpmlintrc
|
||||
Source2: gem2rpm.yml
|
||||
Source2: series
|
||||
Source3: gem2rpm.yml
|
||||
# MANUAL
|
||||
Patch0: gcc14.patch
|
||||
# /MANUAL
|
||||
Summary: Fast Implementation of Gruber's Markdown in C
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Ruby
|
||||
PreReq: update-alternatives
|
||||
|
||||
%description
|
||||
Fast Implementation of Gruber's Markdown in C.
|
||||
|
||||
%prep
|
||||
%gem_unpack
|
||||
%patch -P 0 -p1
|
||||
find -type f -print0 | xargs -0 touch -r %{S:0}
|
||||
%gem_build
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%gem_install \
|
||||
--symlink-binaries \
|
||||
--doc-files="COPYING README.markdown" \
|
||||
--doc-files="CHANGELOG.md COPYING README.markdown" \
|
||||
-f
|
||||
%gem_cleanup
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user