forked from pool/coccinelle
coccinelle-1.0.0~rc15
OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=25
This commit is contained in:
parent
37469e6a0b
commit
aece3a617f
3
coccinelle-1.0.0-rc15.tar.xz
Normal file
3
coccinelle-1.0.0-rc15.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:64d27fc4e6bc81d2a2485e82fe8e6bf9cddbd62a17029de4a27b774e1e8234c1
|
||||||
|
size 2557896
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1abea24aa173836930d119102f572d52cfc086897032a91f4988def11379edf7
|
|
||||||
size 1574892
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 3 16:18:10 UTC 2012 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 1.0.0~rc15
|
||||||
|
* See http://coccinelle.lip6.fr/distrib/changes.html for
|
||||||
|
the (quite large) set of new features and bugfixes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 6 01:17:08 UTC 2012 - jengelh@inai.de
|
Thu Sep 6 01:17:08 UTC 2012 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -23,11 +23,13 @@ Summary: Semantic patch utility
|
|||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
Url: http://coccinelle.lip6.fr/
|
Url: http://coccinelle.lip6.fr/
|
||||||
%define rversion %version-rc7
|
%define rversion %version-rc15
|
||||||
Source: %name-%rversion.tar.xz
|
Source: %name-%rversion.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml >= 3.10
|
||||||
|
BuildRequires: ocaml-camlp4-devel >= 3.10
|
||||||
|
BuildRequires: ocaml-ocamldoc >= 3.10
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
Requires: python-base
|
Requires: python-base
|
||||||
@ -48,8 +50,7 @@ used (by us and others) for finding and fixing bugs in systems code.
|
|||||||
%setup -qn %name-%rversion
|
%setup -qn %name-%rversion
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# not autotools configure, don't use macro
|
%configure
|
||||||
./configure --prefix=%{_prefix} --opt
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -58,22 +59,25 @@ make %{?_smp_mflags}
|
|||||||
export NO_BRP_STRIP_DEBUG=true
|
export NO_BRP_STRIP_DEBUG=true
|
||||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||||
%define __debug_install_post %{nil}
|
%define __debug_install_post %{nil}
|
||||||
>debugfiles.list
|
: >debugfiles.list
|
||||||
>debugsources.list
|
: >debugsources.list
|
||||||
|
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
make install DESTDIR="$b" MANDIR="%_mandir" LIBDIR="%_libdir"
|
make install DESTDIR="$b";
|
||||||
# Remove coccilib, don't have the deps
|
# Remove coccilib, don't have the deps
|
||||||
rm -Rf "$b/%_datadir/%name"/{commons,globals,ocaml,parsing_c} \
|
rm -Rf "$b/%_datadir/%name"/{commons,globals,ocaml,parsing_c} \
|
||||||
"$b/%_mandir/man3"/Coccilib*;
|
"$b/%_mandir/man3"/Coccilib*;
|
||||||
|
|
||||||
|
mkdir -p "$b/%_libdir";
|
||||||
|
mv "$b/%_datadir/%name/dllpycaml_stubs.so" "$b/%_libdir/";
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%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/*/*
|
%doc %_mandir/man?/*
|
||||||
%_bindir/*
|
%_bindir/spatch*
|
||||||
%_libdir/*.so
|
%_libdir/dllpycaml_stubs.so
|
||||||
%_datadir/%name
|
%_datadir/%name
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user