Displaying 2 results from an estimated 2 matches for "__perl_requires".
2004 Sep 05
1
RH7.3 compatibility with SRPMS
...nd one for 9
Source998: filter-requires-samba_rh8.sh
Source999: filter-requires-samba_rh9.sh
# Working around perl dependency problem from docs
# Only > RH 8.0 seems to care here
echo "rpm_version == %{rpm_version}"
if [ "%{rpm_version}" == "42" ]; then
%define __perl_requires %{SOURCE999}
echo "%{__perl_requires}"
elif [ "%{rpm_version}" == "41" ]; then
%define __find_requires %{SOURCE998}
echo "%{__find_requires}"
fi
2008 Sep 29
1
Rpmbuild and how to disable automatic dependency list creation.
...herefore is - how can I tell rpmbuild to stop
automatically creating a dependency list? The best I can come up with
at the moment is to add the following to my ~/.rpmmacros (line numbers
added by me):
[1] %__os_install_post /usr/lib/rpm/brp-strip-comment-note
[2] %__find_requires /bin/true
[3] %__perl_requires /bin/true
So:
[1] - Stop it stripping already stripped binaries.
[2] and [3] - This stops it doing the automatic dependency list creation.
This seems a bit heavy handed though, is there another, cleaner way to do it?
Regards,
Fred.