17
0
Files
maliit-framework/_service
Shawn Dunn 7c53fcaaea Accepting request 1089312 from devel:ARM:Factory:Contrib:PinePhone
- Update to upstream version 2.3.0:
  * Re-show the keyboard on Wayland surrounding text changes
  * Use compose input plugin fallback only if key redirection is
    disabled
  * Remove leftover code from Qt 4 times
  * Enable installing unit tests again
  * Remove legacy unused Maemo-specific code
  * Use QLoggingCategory for logging
  * Fix application orientation angle back to clockwise
  * Add the Mir input panel window type flag
  * Use CMAKE_INSTALL_FULL_* paths in pkgconfig files
  * Remove the unused and unnecessary gtk3 wayland input context
    plugin
  * Remove unused and useless install target
- Misc. whitespace- or comment-only changes.
- Modernize spec file by leaving out definition of the BuildRoot:
  tag or usage of the %defattr macro.
- Add maliit-framework-tests subpackage for packaging the
  provided unit tests.
- Remove deleted wayland-gtk wrapper.
- Add patch to fix building the test cases with GCC 12+.
- Rename libmaliit0 to libmaliit2 and, at the same time, split it
  up into libmaliit-plugins2 and libmaliit-glib2, since both
  libraries are independent from another.
- Rename maliit-framework-devel to libmaliit-devel.
- Add rpmlintrc to ignore warnings and errors we are aware of,
  but want to do on purpose (which is fine).
- Add Group: tags to packages.
- Rename dist file to %{name}-%{version}.tar.gz and add the usual
  GitHub fetching URL.
- Modify _service file to recompress to gz instead and set the
  correct file name. However, it turns out that this is really
  broken. Add a comment and fall back to manual fetching for the
  time being.

OBS-URL: https://build.opensuse.org/request/show/1089312
OBS-URL: https://build.opensuse.org/package/show/M17N:Maliit/maliit-framework?expand=0&rev=88
2024-03-15 14:30:54 +00:00

50 lines
2.0 KiB
Plaintext

<services>
<!--
obs_scm and tar_scm are broken and fail to do what one would expect if
given "filename" parameters.
For obs_scm, if the provided filename does not match the URL's last
component (minus potentially a suffix such as .git), then it:
- clones the URL verbatim
- does NOT change the name
- generates filename.obsinfo and filename-$version.obscpio (this is the
only correct thing it does)
- then goes ahead to rename filename to filename-$version, which
obviously won't work, because a directory called filename will not
exist, unless the basename of the URL matches filename (which defeats
the purpose of using the filename parameter)
- fails to run at all.
A workaround has been documented in
https://github.com/openSUSE/obs-service-tar_scm/issues/384, which
essentially is to provide a symlink from basename(URL) to filename via
`ln -sfvn basename(URL) filename`, but this is so hacky that I won't
employ it.
Not passing the filename param to obs_scm but to tar instead *almost*
works, but ultimately creates a file named filename.tar - contrary to its
documentation, which states the resulting file name will be made up of the
given filename parameter and its version - which, again, turns out to be
useless.
Hence, until this is fixed, these source services will stay broken.
Manually fetch the distfile via the URL provided in Source0 and rename it,
please.
-->
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/maliit/framework.git</param>
<param name="revision">@PARENT_TAG@</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="filename">maliit-framework</param>
</service>
<service mode="disabled" name="tar">
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service mode="disabled" name="set_version" />
</services>