Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
dd109cd5f9
!14 修复3处LLVM构建报错,函数指针类型不兼容
From: @shen-chenbang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-09-05 09:31:33 +00:00
Shencb@123
255d0b5a8e support clang 2024-08-29 12:44:34 +08:00
Shencb@123
d6f1954346 support clang 2024-08-29 12:40:05 +08:00
Shencb@123
4b653b9f61 support clang 2024-08-29 12:23:11 +08:00
Shencb@123
6b21128bc5 support clang 2024-08-29 11:17:11 +08:00
Shencb@123
391bbcf64f support clang 2024-08-29 10:29:48 +08:00
openeuler-ci-bot
7878819195 !2 remove rpath
From: @tong_1001
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-09-08 03:43:49 +00:00
sxt1001
dc7c0f4486 remove rpath 2021-09-08 11:27:11 +08:00
openeuler-ci-bot
c3404751d4 !1 add yaml file in package
Merge pull request !1 from Markeryang/master
2020-06-23 20:31:36 +08:00
Markeryang
756e3b66cc add rarian.yaml. 2020-06-13 14:24:11 +08:00
3 changed files with 56 additions and 2 deletions

33
0001-rarian.patch Normal file
View File

@ -0,0 +1,33 @@
From 5799da176777ad3aefb851f23df6232c6f21d0b3 Mon Sep 17 00:00:00 2001
From: "Shencb@123" <1944340417@qq.com>
Date: Mon, 26 Aug 2024 23:10:01 +0800
Subject: [PATCH] modify perl-libxml-mm.c
---
util/rarian-example.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/rarian-example.c b/util/rarian-example.c
index d203a19..714d69c 100644
--- a/util/rarian-example.c
+++ b/util/rarian-example.c
@@ -76,7 +76,7 @@ for_each_cb (RrnReg *reg, void * user_data)
return TRUE;
}
-
+int
info_for_each (RrnInfoEntry *entry, void *data)
{
if (entry->section)
@@ -89,7 +89,7 @@ info_for_each (RrnInfoEntry *entry, void *data)
entry->comment);
return TRUE;
}
-
+int
man_for_each (RrnManEntry *entry, void *data)
{
printf ("Man page %s\n", entry->name);
--
2.45.2.windows.1

View File

@ -1,6 +1,6 @@
Name: rarian Name: rarian
Version: 0.8.1 Version: 0.8.1
Release: 23 Release: 25
License: LGPLv2+ License: LGPLv2+
Summary: Documentation meta-data library Summary: Documentation meta-data library
URL: http://rarian.freedesktop.org/ URL: http://rarian.freedesktop.org/
@ -9,12 +9,13 @@ Source: http://download.gnome.org/sources/rarian/0.8/rarian-%{version}.tar.bz2
Source1: scrollkeeper-omf.dtd Source1: scrollkeeper-omf.dtd
Patch1: rarian-0.8.1-categories.patch Patch1: rarian-0.8.1-categories.patch
Patch2: 0001-rarian.patch
Requires(post): libxml2 Requires(post): libxml2
Requires(postun): libxml2 Requires(postun): libxml2
Requires: libxslt coreutils util-linux gawk Requires: libxslt coreutils util-linux gawk
BuildRequires: gcc-c++ libxslt-devel BuildRequires: gcc-c++ libxslt-devel chrpath
%description %description
Rarian is designed to be a replacement for scrollkeeper. It is Rarian is designed to be a replacement for scrollkeeper. It is
@ -58,6 +59,13 @@ mkdir -p %buildroot%{_datadir}/xml/scrollkeeper/dtds
cp %{SOURCE1} %buildroot%{_datadir}/xml/scrollkeeper/dtds cp %{SOURCE1} %buildroot%{_datadir}/xml/scrollkeeper/dtds
%delete_la_and_a %delete_la_and_a
# remove rpath
chrpath -d %buildroot%{_bindir}/rarian-example
chrpath -d %buildroot%{_bindir}/rarian-sk-preinstall
chrpath -d %buildroot%{_bindir}/rarian-sk-get-cl
chrpath -d %buildroot%{_bindir}/rarian-sk-migrate
chrpath -d %buildroot%{_bindir}/rarian-sk-gen-uuid
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%post compat %post compat
@ -103,6 +111,15 @@ fi
%{_datadir}/help %{_datadir}/help
%changelog %changelog
* Tue Aug 27 2024 shenchenbang <1944340417@qq.com> - 0.8.1-25
- Fix the function does not define a return value
* Wed Sep 08 2021 shixuantong <shixuantong@huawei.com> - 0.8.1-24
- remove rpath
* Wed Sep 08 2021 shixuantong <shixuantong@huawei.com> - 0.8.1-24
- remove rpath
* Thu Oct 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.1-23 * Thu Oct 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.1-23
- spec modified - spec modified

4
rarian.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: pld-linux/rarian
tag_prefix: ^auto/th/rarian-
seperator: .