projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b22ddc
)
update test
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Tue, 4 May 2010 14:35:44 +0000
(16:35 +0200)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Tue, 4 May 2010 14:46:56 +0000
(16:46 +0200)
test/dummy.spec
patch
|
blob
|
history
diff --git
a/test/dummy.spec
b/test/dummy.spec
index
e6bb6e3
..
5469e4f
100644
(file)
--- a/
test/dummy.spec
+++ b/
test/dummy.spec
@@
-8,9
+8,13
@@
BuildRoot: %_tmppath/%name-%version-build
%build
gcc --version
+echo "int dummy(void) {}" | gcc -shared -Wl,-soname=libdummy.so.1 -o libdummy.so.1 -x c -
%install
-mkdir -p %buildroot/etc
-cp /etc/shells %buildroot/etc/foo
+mkdir -p %buildroot%_libdir
+install libdummy.so.1 %buildroot%_libdir
+
+%clean
+rm -rf %buildroot
%description
target_cpu %_target_cpu
@@
-19,6
+23,6
@@
build_arch %_build_arch
%files
%defattr(-,root,root)
-/etc/foo
+%_libdir/libdummy.so.1
%changelog