mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-20 01:48:18 +02:00
fpcsrc rpm no longer adds perl as requirement
git-svn-id: trunk@6315 -
This commit is contained in:
parent
7dd0235a0d
commit
ebbbfd5f4d
@ -47,7 +47,7 @@ FPCTGZ=fpcsrc-$LazVersion-$LazRelease.tgz
|
|||||||
CurDir=`pwd`
|
CurDir=`pwd`
|
||||||
|
|
||||||
# pack the directory
|
# pack the directory
|
||||||
sh create_fpc_tgz_from_local_dir.sh renamesmart $FPCSourceDir $FPCTGZ
|
sh create_fpc_tgz_from_local_dir.sh $FPCSourceDir $FPCTGZ
|
||||||
|
|
||||||
if [ "$PkgType" = "deb" ]; then
|
if [ "$PkgType" = "deb" ]; then
|
||||||
# build fpcsrc deb
|
# build fpcsrc deb
|
||||||
|
@ -14,13 +14,7 @@ BuildRoot: %{_tmppath}/fpcsrc-build%{version}
|
|||||||
|
|
||||||
# The normal redhat rpm scripts tests every installed file for requirements.
|
# The normal redhat rpm scripts tests every installed file for requirements.
|
||||||
# We install only sources, so we don't need the requirements.
|
# We install only sources, so we don't need the requirements.
|
||||||
# But it seems, RPM ignores these macros:
|
AutoReq: 0
|
||||||
|
|
||||||
# %define _use_internal_dependency_generator 0
|
|
||||||
%define __find_provides /tmp/do_nothing.sh
|
|
||||||
%define __find_requires /tmp/do_nothing.sh
|
|
||||||
# %define __find_requires %{nil}
|
|
||||||
# AutoReq: 0
|
|
||||||
|
|
||||||
# The normal redhat rpm scripts do not recognize properly, what files to strip
|
# The normal redhat rpm scripts do not recognize properly, what files to strip
|
||||||
# Hook our own strip command
|
# Hook our own strip command
|
||||||
@ -42,12 +36,6 @@ bindings and many more.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# The normal redhat rpm scripts tests every installed file for requirements.
|
|
||||||
# We install only sources, so we don't need the requirements.
|
|
||||||
# I don't know, how to tell RPM, to not test for requirements, so simply rename
|
|
||||||
find . -name '*.pm' -exec mv {} {}.renamed_for_rpm \;
|
|
||||||
find . -name '*.pl' -exec mv {} {}.renamed_for_rpm \;
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
if [ %{buildroot} != "/" ]; then
|
if [ %{buildroot} != "/" ]; then
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
Loading…
Reference in New Issue
Block a user