diff options
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 56 |
1 files changed, 18 insertions, 38 deletions
@@ -475,44 +475,24 @@ print (t)\ #%__find_conflicts ??? #%__find_obsoletes ??? -# -# Path to scripts to autogenerate per-filetype package dependencies. -# If the script supports extra options they can be passed by defining -# <helper_macro>_opts macro(s), eg in spec: -# %define __ocaml_requires_opts -i Warnings -# -# Note: Used iff _use_internal_dependency_generator is non-zero. The -# helpers are also used by %{_rpmconfigdir}/rpmdeps {--provides|--requires}. -#%__perl_provides %{_rpmconfigdir}/perldeps.pl --provides -#%__perl_requires %{_rpmconfigdir}/perldeps.pl --requires - -%__script_requires %{_rpmconfigdir}/script.req - -%__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private} -%__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private} - -%__perl_provides %{_rpmconfigdir}/perl.prov -%__perl_requires %{_rpmconfigdir}/perl.req - -%__python_provides %{_rpmconfigdir}/pythondeps.sh --provides -%__python_requires %{_rpmconfigdir}/pythondeps.sh --requires - -%__mono_provides %{_rpmconfigdir}/mono-find-provides %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir} -%__mono_requires %{_rpmconfigdir}/mono-find-requires %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir} - -%__libtool_provides %{_rpmconfigdir}/libtooldeps.sh --provides %{buildroot} %{name} -%__libtool_requires %{_rpmconfigdir}/libtooldeps.sh --requires %{buildroot} %{name} - -%__pkgconfig_provides %{_rpmconfigdir}/pkgconfigdeps.sh --provides -%__pkgconfig_requires %{_rpmconfigdir}/pkgconfigdeps.sh --requires - -%__ocaml_provides %{_rpmconfigdir}/ocaml-find-provides.sh -%__ocaml_requires %{_rpmconfigdir}/ocaml-find-requires.sh - -%__font_provides %{_rpmconfigdir}/fontconfig.prov -%__font_requires %{nil} -%__desktop_provides %{_rpmconfigdir}/desktop-file.prov -%__desktop_requires %{nil} +# +# Path to file attribute classifications for automatic dependency +# extraction, used when _use_internal_dependency_generator +# is used (on by default). Files can have any number of attributes +# attached to them, and dependencies are separately extracted for +# each attribute. +# +# To define a new file attribute called "myattr", add a file named +# "myattr" to this directory, defining the requires and/or provides +# finder script(s) + magic and/or path pattern regex(es). +# provides finder and +# %__myattr_requires path + args to requires finder script for <myattr> +# %__myattr_provides path + args to provides finder script for <myattr> +# %__myattr_magic libmagic classification match regex +# %__myattr_pattern path based classification match regex +# %__myattr_exeonly require file to be executable to classify +# +%_fileattrsdir %{_rpmconfigdir}/fileattrs #============================================================================== # ---- Database configuration macros. |