diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-01-09 21:16:50 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-01-10 20:21:40 +0200 |
commit | f67994476da4bdc5389c558989809df48a172c6e (patch) | |
tree | cd8a3edee0f6965e0d851a1d59108f14d9cbd9dd /docs/markdown | |
parent | 251d6f0f5db26b82f4f0e78f0552cd606bd8d9dd (diff) | |
download | meson-f67994476da4bdc5389c558989809df48a172c6e.zip meson-f67994476da4bdc5389c558989809df48a172c6e.tar.gz meson-f67994476da4bdc5389c558989809df48a172c6e.tar.bz2 |
remove the RPM module
It is unmaintained, broken (frequently for long periods of time) and not
really required for any meson functionality. Its purpose is to be used
as a one-shot tool for creating a distro package recipe, and then
deleted from your meson.build files.
Due to its fragile dependency on coredata implementation details, we
cannot assume it will reliably work, or continue to work, without
someone who is actively willing to take responsibility for it.
Even if that were to happen, this might be better off as an external
script that parses introspection data.
Closes #9764
Closes #9763
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/RPM-module.md | 16 | ||||
-rw-r--r-- | docs/markdown/snippets/removing_rpm_module.md | 10 |
2 files changed, 10 insertions, 16 deletions
diff --git a/docs/markdown/RPM-module.md b/docs/markdown/RPM-module.md deleted file mode 100644 index cab6d96..0000000 --- a/docs/markdown/RPM-module.md +++ /dev/null @@ -1,16 +0,0 @@ -# RPM module - -The RPM module can be used to create a sample rpm spec file for a -Meson project. It autodetects installed files, dependencies and so -on. Using it is very simple. At the very end of your Meson project -(that is, the end of your top level `meson.build` file) add these two -lines. - -```meson -rpm = import('rpm') -rpm.generate_spec_template() -``` - -Run Meson once on your code and the template will be written in your -build directory. Then remove the two lines above and manually edit the -template to add missing information. After this it is ready for use. diff --git a/docs/markdown/snippets/removing_rpm_module.md b/docs/markdown/snippets/removing_rpm_module.md new file mode 100644 index 0000000..c492d51 --- /dev/null +++ b/docs/markdown/snippets/removing_rpm_module.md @@ -0,0 +1,10 @@ +## Removal of the RPM module + +Due to lack of interest, lack of maintainership, and lack of a clear purpose, +the RPM module has been removed. + +Users interested in one-shot tools to generate an RPM spec file template for +distro packaging, are encouraged develop an external tool that reads the +introspection data. + +For more details, see https://github.com/mesonbuild/meson/issues/9764 |