Bug 1480103

Summary: [patch] install metainfo.xml so octave-image appears in Software
Product: [Fedora] Fedora Reporter: Colin Macdonald <cbm>
Component: octave-imageAssignee: Orion Poplawski <orion>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 27CC: orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-03 21:39:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
0001-Install-metainfo.xml-so-this-package-will-appear-in-.patch none

Description Colin Macdonald 2017-08-10 07:38:34 UTC
Created attachment 1311611 [details]
0001-Install-metainfo.xml-so-this-package-will-appear-in-.patch

Here's a patch.

Reasons for wanting this: https://fedoraproject.org/wiki/Workstation/AddonAppdata

BTW, just for fun and in case anyone other than @Orion is reading this: I tried this with pagure.  Forking was fine, but could not push to my fork to do a PR ("FATAL: W any forks/cbm/rpms/octave-image cbm DENIED by fallthru").

Comment 1 Colin Macdonald 2017-08-10 18:04:45 UTC
Orion: do you think it would be better to patch "macros.octave" instead of doing this for each octave-* package?

````
if [ -e octave-%{octpkg}.metainfo.xml ] \
then \
  cp -p octave-%{octpkg}.metainfo.xml %{buildroot}/%{_datadir}/appdata/ \
fi
````

etc

Comment 2 Orion Poplawski 2017-08-10 23:07:25 UTC
Yeah, I suspect that will be useful.

Comment 3 Colin Macdonald 2017-08-11 05:07:31 UTC
I filed #1480425 with my rather poor attempt at doing his in macros.octave.  Can you take a look?

Comment 4 Jan Kurik 2017-08-15 08:14:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 5 Colin Macdonald 2017-11-03 21:39:35 UTC
Orion did this in 2.6.1-6, closing

Comment 6 Colin Macdonald 2017-11-03 21:39:58 UTC
sorry f27 not out yet, next release