1Summary: hello3 -- double hello, world rpm
2Name: hello3
3Version: 1.0
4Release: 2
5Group: Utilities
6License: GPL
7Distribution: RPM ^W Elfutils test suite.
8Vendor: Red Hat Software
9Packager: Red Hat Software <bugs@redhat.com>
10URL: http://www.redhat.com
11BuildRequires: gcc make
12Source0: hello-1.0.tar.gz
13
14%description
15Simple rpm demonstration with an eye to consumption by debuginfod.
16
17%package two
18Summary: hello3two
19License: GPL
20
21%description two
22Dittoish.
23
24%prep
25%setup -q -n hello-1.0
26
27%build
28mkdir foobar
29gcc -g -O1 foobar///./../hello.c -o hello
30gcc -g -O2 -D_FORTIFY_SOURCE=2 foobar///./../hello.c -o hello3
31
32%install
33rm -rf $RPM_BUILD_ROOT
34mkdir -p $RPM_BUILD_ROOT/usr/local/bin
35cp hello $RPM_BUILD_ROOT/usr/local/bin/
36cp hello3 $RPM_BUILD_ROOT/usr/local/bin/
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(-,root,root)
43%attr(0751,root,root)   /usr/local/bin/hello
44
45%files two
46%defattr(-,root,root)
47%attr(0751,root,root)   /usr/local/bin/hello3
48
49%changelog
50* Tue Mar 24 2020 Frank Ch. Eigler <fche@redhat.com>
51- New variant of hello2, with crazy source file paths
52
53* Thu Nov 14 2019 Frank Ch. Eigler <fche@redhat.com>
54- Dropped misc files not relevant to debuginfod testing.
55
56* Wed May 18 2016 Mark Wielaard <mjw@redhat.com>
57- Add hello2 for dwz testing support.
58
59* Tue Oct 20 1998 Jeff Johnson <jbj@redhat.com>
60- create.
61