Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
949f80e430
!26 [sync] PR-24: /usr/bin/container-exception-logger文件添加-pie编译选项
From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2023-03-07 03:15:30 +00:00
wu-leilei
81036bb1fc Add the compilation option pie
Add the compilation option pie

(cherry picked from commit d270def1c198571475ebed264e93a34e2110d99a)
2023-03-07 09:06:37 +08:00
openeuler-ci-bot
9af056ef27 !11 增加构建依赖gcc
From: @bzg1107
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-06-02 14:52:45 +08:00
baizg1107
15768ec68e add build requires 2021-06-02 11:06:26 +08:00
openeuler-ci-bot
83b01a384e !5 Modify Source0 Url of package container-exception-logger
From: @wang--ge
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-09-14 09:27:36 +08:00
wangge
1464f84351 Modify Source0 url 2020-09-11 11:44:56 +08:00
openeuler-ci-bot
6ac618c313 !4 modify yaml
Merge pull request !4 from 成子晗/master
2020-07-17 15:13:38 +08:00
chengzihan2
58cb9bb505 modify yaml 2020-07-17 14:49:46 +08:00
openeuler-ci-bot
49d884487a !3 add yaml file
Merge pull request !3 from sugarfillet/master
2020-05-19 10:14:39 +08:00
sugarfillet
10eb806e5e add yaml file 2020-05-08 15:54:08 +08:00
4 changed files with 18 additions and 5 deletions

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: container-exception-logger
Version: 1.0.3
Release: 2
Release: 5
Summary: Logging from a container to a host
License: GPLv3+
URL: https://github.com/abrt/container-exception-logger
Source0: %{name}-%{version}.tar.gz
BuildRequires: asciidoc libxslt
Source0: https://github.com/abrt/container-exception-logger/archive/%{name}-%{version}-1.tar.gz
BuildRequires: asciidoc libxslt gcc
%description
Container-exception-logger is a tool designed to run inside of a container
@ -18,10 +18,10 @@ Summary: Help document for the %{name} package
Help document for the %{name} package.
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -n %{name}-%{name}-%{version}-1 -p1
%build
gcc %{optflags} src/%{name}.c -o src/container-exception-logger
gcc %{optflags} -fPIE src/%{name}.c -o src/container-exception-logger
a2x -d manpage -f manpage man/container-exception-logger.1.asciidoc
%install
@ -39,5 +39,14 @@ cp man/container-exception-logger.1 %{buildroot}/%{_mandir}/man1/container-excep
%{_mandir}/man1/container-exception-logger.1.*
%changelog
* Fri Mar 03 2023 wulei <wulei80@h-partners.com> - 1.0.3-5
- Add the compilation option pie
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> 1.0.3-4
- Add gcc in BuildRequires
* Tues Sept 8 2020 Ge Wang <wangge20@huawei.com> 1.0.3-3
- Modify the Source0 Url
* Thu Dec 12 2019 shijian <shijian16@huawei.com> 1.0.3-2
- Package init

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: abrt/container-exception-logger
tag_prefix: "container-exception-logger-"
seperator: "."