Compare commits

...

12 Commits

Author SHA1 Message Date
openeuler-ci-bot
2a009a416c
!20 【openEuler-22.03-LTS-Next】fix source url
From: @yixiangzhike 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-11-17 01:40:51 +00:00
yixiangzhike
675bd05fcc fix source url
Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
2022-11-17 09:17:06 +08:00
openeuler-ci-bot
a01f661257
!18 [sync] PR-14: fix build error:Unknow options:developer_build
From: @openeuler-sync-bot 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-11-01 09:25:18 +00:00
fuanan
674f881920 fix build error:Unknow options:developer_build
(cherry picked from commit 909c39e927280dbfd02a68b8199ed50e9f754ac0)
2022-10-27 15:37:32 +08:00
openeuler-ci-bot
8d12b8078d !7 update libmodulemd version to 2.13.0
From: @zou_lin77
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-07-27 12:00:15 +00:00
zou_lin77
b491cfba5e update libmodulemd version to 2.13.0 2021-07-27 10:32:34 +08:00
openeuler-ci-bot
a28aa9f6d0 !3 update to version 2.9.4
Merge pull request !3 from sherlock2010/master
2020-07-29 16:20:39 +08:00
sherlock2010
f6f650f8e6 update to version 2.9.4 2020-07-29 13:41:26 +08:00
openeuler-ci-bot
7625af31ac !1 Buildrequire "valgrind " is arch related
Merge pull request !1 from whoisxxx/master
2020-07-08 14:38:02 +08:00
openeuler-ci-bot
85db65dfc2 !2 add yaml file
Merge pull request !2 from linwei9/master
2020-06-17 21:04:37 +08:00
linwei9
0ad9b80ebf add yaml file 2020-06-17 17:36:33 +08:00
whoisxxx
7327c7c233 Judge arches before buildreqiure valgrind 2020-06-02 16:01:59 +08:00
5 changed files with 51 additions and 41 deletions

View File

@ -1,30 +0,0 @@
From 7b5fd50da51462bb98d1e8e9916562bbf645b545 Mon Sep 17 00:00:00 2001
From: fangyufa <fangyufa1@huawei.com>
Date: Fri, 22 Nov 2019 17:46:29 +0800
Subject: [PATCH] libmodulemd: disable valgrind test for build
Change-Id: I4bc4973d32b42b092a3293ff55e74bf9e6e69596
Signed-off-by: fangyufa <fangyufa1@huawei.com>
---
modulemd-1.6.4/modulemd/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modulemd/meson.build b/modulemd/meson.build
index c7d42e8..8ffe46e 100644
--- a/modulemd/meson.build
+++ b/modulemd/meson.build
@@ -27,9 +27,9 @@ endif
valgrind = find_program('valgrind', required: developer_build)
-if not valgrind.found()
+#if not valgrind.found()
valgrind = disabler()
-endif
+#endif
build_api_v1 = get_option('build_api_v1')
--
2.19.1

View File

@ -1,15 +1,18 @@
# NOTICE: this spec file is retrieved from upper stream project(see libmodulemd.spec.in in Source0)
# and made some modifications.
Name: libmodulemd
Version: 1.6.4
Release: 4
Version: 2.13.0
Release: 3
Summary: C Library for manipulating module metadata files
License: MIT
URL: https://github.com/fedora-modularity/libmodulemd
Source0: https://github.com/fedora-modularity/libmodulemd/releases/download/libmodulemd-%{version}/modulemd-%{version}.tar.xz
Source0: https://github.com/fedora-modularity/libmodulemd/releases/download/%{version}/modulemd-%{version}.tar.xz
Patch9000: libmodulemd-disable-valgrind-test-for-build.patch
BuildRequires: meson pkgconfig gcc python3-gobject-base valgrind gobject-introspection-devel libxslt
BuildRequires: meson pkgconfig gcc gcc-c++ gobject-introspection-devel libxslt
Buildrequires: python3-devel python3-gobject-base glib2-doc rpm-devel file-devel help2man
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
BuildRequires: pkgconfig(gobject-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(yaml-0.1) pkgconfig(gtk-doc)
%description
@ -25,13 +28,19 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for libmodulemd.
%package -n python3-%{name}
Summary: python3 bindings for %{name}
Requires: %{name} = %{version}-%{release} python3-gobject-base python3-six
%description -n python3-%{name}
python3 bindings for %{name}
%prep
%autosetup -p1 -n modulemd-%{version}
%build
%meson -Ddeveloper_build=false
%meson -Dwith_py2=false
%meson_build
@ -53,22 +62,49 @@ export LC_CTYPE=C.utf8
%license COPYING
%doc README.md
%{_bindir}/modulemd-validator
%{_libdir}/%{name}.so.1*
%{_libdir}/%{name}.so.2*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Modulemd*
%{_mandir}/man1/modulemd-validator*
%files devel
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/modulemd.pc
%{_includedir}/modulemd/
%{_libdir}/pkgconfig/modulemd-2.0.pc
%{_includedir}/modulemd-2.0/
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Modulemd*
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/modulemd-1.0/
%{_datadir}/gtk-doc/html/modulemd-2.0/
%files -n python3-%{name}
%{python3_sitearch}/gi/overrides/
%changelog
* Thu Nov 17 2022 yixiangzhike <yixiangzhike007@163.com> - 2.13.0-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix source url
* Wed Jun 22 2022 fuanan <fuanan3@h-partners.com> - 2.13.0-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:fix build error:Unknow options:"developer_build"
* Tue Jul 27 2021 zoulin <zoulin13@huawei.com> - 2.13.0-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update libmodulemd version to 2.13.0
* Tue Apr 28 2020 zhouyihang <zhouyihang3@huawei.com> - 2.9.4-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update libmodulemd version to 2.9.4
* Fri Nov 22 2019 fangyufa<fangyufa1@huawei.com> - 1.6.4-4
- add buildrequires of libxslt(for x86_64) and disable valgrind test for build

4
libmodulemd.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: fedora-modularity/libmodulemd
tag_prefix: ^libmodlemd-
seperator: .

Binary file not shown.

BIN
modulemd-2.13.0.tar.xz Normal file

Binary file not shown.