SHA256
1
0
forked from pool/coccinelle

install all files required by spatch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2010-03-25 00:52:03 +00:00 committed by Git OBS Bridge
parent 9121ea593d
commit 7316a76027
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 25 00:51:20 UTC 2010 - jengelh@medozas.de
- install all files required by spatch, not just the binary itself
(otherwise it does not even run)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 15 12:25:23 UTC 2010 - jengelh@medozas.de Mon Mar 15 12:25:23 UTC 2010 - jengelh@medozas.de

View File

@ -31,9 +31,10 @@ used (by us and others) for finding and fixing bugs in systems code.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
# We primarily want spatch b="%buildroot"
install -D -m 0755 spatch %{buildroot}%{_bindir}/spatch rm -Rf "$b"
install -D -m 0644 docs/spatch.1 %{buildroot}%{_mandir}/man1/spatch.1 mkdir "$b"
make install DESTDIR="$b" MANDIR="%_mandir" LIBDIR="%_libdir"
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -42,7 +43,9 @@ rm -rf %{buildroot}
%defattr(-,root,root) %defattr(-,root,root)
%doc authors.txt bugs.txt changes.txt copyright.txt credits.txt %doc authors.txt bugs.txt changes.txt copyright.txt credits.txt
%doc license.txt readme.txt %doc license.txt readme.txt
%doc %{_mandir}/man1/* %doc %_mandir/*/*
%{_bindir}/* %_bindir/*
%_libdir/*.so
%_datadir/%name
%changelog %changelog