/
githubmirror
/
elfutils
Обзор
Документация
Войти
/
githubmirror
/
elfutils
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/debuginfod-rpms/hello2.specfile
57 строк
1 KB
Yonggang Luo
Rename 'hello{2,3}.spec.' -> 'hello{2,3}.specfile'
31 окт 2022, 15:55
31 окт 2022, 15:55
5d8cd51
Код
Авторство
О чём код?
Summary: hello2 -- double hello, world rpm Name: hello2 Version: 1.0 Release: 2 Group: Utilities License: GPL Distribution: RPM ^W Elfutils test suite. Vendor: Red Hat Software Packager: Red Hat Software <bugs@redhat.com> URL: http://www.redhat.com BuildRequires: gcc make Source0: hello-1.0.tar.gz %description Simple rpm demonstration with an eye to consumption by debuginfod. %package two Summary: hello2two License: GPL %description two Dittoish. %prep %setup -q -n hello-1.0 %build gcc -g -O1 hello.c -o hello gcc -g -O2 -D_FORTIFY_SOURCE=2 hello.c -o hello2 %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/local/bin cp hello $RPM_BUILD_ROOT/usr/local/bin/ cp hello2 $RPM_BUILD_ROOT/usr/local/bin/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(0751,root,root) /usr/local/bin/hello %files two %defattr(-,root,root) %attr(0751,root,root) /usr/local/bin/hello2 %changelog * Thu Nov 14 2019 Frank Ch. Eigler <fche@redhat.com> - Added source code right here to make spec file self-contained. - Dropped misc files not relevant to debuginfod testing. * Wed May 18 2016 Mark Wielaard <mjw@redhat.com> - Add hello2 for dwz testing support. * Tue Oct 20 1998 Jeff Johnson <jbj@redhat.com> - create.