Sync from SUSE:SLFO:Main instsource-susedata revision e5bcaec32885663a8ebb6d7266a46c53

This commit is contained in:
Adrian Schröter 2024-05-03 13:44:47 +02:00
commit 0c03f57b87
6 changed files with 207 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/openSUSE/instsource-susedata.git</param>
<param name="scm">git</param>
<param name="version">0.3.8</param>
<param name="revision">0.3.8</param>
<param name="extract">instsource-susedata.changes</param>
<param name="extract">instsource-susedata.spec</param>
</service>
<service mode="disabled" name="set_version" />
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

BIN
instsource-susedata-0.3.8.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

104
instsource-susedata.changes Normal file
View File

@ -0,0 +1,104 @@
-------------------------------------------------------------------
Wed Nov 8 14:27:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to version 0.3.8:
* handle primary xml in zstd format
-------------------------------------------------------------------
Tue May 04 14:35:48 CEST 2021 - ro@suse.de
- update to version 0.3.7
* include fingerprint in the gpg keys (still bsc#1184326)
-------------------------------------------------------------------
Thu Apr 15 16:18:09 CEST 2021 - ro@suse.de
- update to version 0.3.6
* add option to add gpg keys as content tags (bsc#1184326)
-------------------------------------------------------------------
Wed Apr 29 00:27:25 CEST 2020 - ro@suse.de
- update to version 0.3.5
* drop pointless use of is_opensuse macro (jsc#SLE-11663)
-------------------------------------------------------------------
Wed Dec 5 14:58:23 UTC 2018 - Adrian Schröter <adrian@suse.de>
- update to version 0.3.4
* Add pattern-category (fate#323785)
-------------------------------------------------------------------
Tue Apr 24 11:31:39 UTC 2018 - adrian@suse.de
- update to version 0.3.3
* fix missing perl depency
* dependency check during build
-------------------------------------------------------------------
Tue Apr 17 09:23:48 UTC 2018 - adrian@suse.de
- update to version 0.3.2
* fix invalid entries due to empty package descriptions (bsc#1089821)
-------------------------------------------------------------------
Fri Apr 6 10:03:15 UTC 2018 - adrian@suse.de
- update to version 0.3.1
* adding translate EULA as well
-------------------------------------------------------------------
Thu Mar 22 08:48:50 UTC 2018 - adrian@suse.de
- update to version 0.3
* add appdata-screenshots.tar and appdata-icons.tar.gz to repomd.xml
-------------------------------------------------------------------
Tue Mar 13 12:23:40 UTC 2018 - adrian@suse.de
- update to version 0.2
* creates i18n susedata files
- transfer source into git (including instsource-susedata-diskusage.patch)
-------------------------------------------------------------------
Mon Oct 17 11:01:28 UTC 2016 - jengelh@inai.de
- Update descriptions
-------------------------------------------------------------------
Tue Sep 27 17:41:40 CEST 2016 - ro@suse.de
- use is_opensuse for requiring proper EULAs package
-------------------------------------------------------------------
Tue Jul 26 12:32:44 CEST 2016 - ro@suse.de
- add option "-p" for adding diskusage information to susedata
(fate#320517)
-------------------------------------------------------------------
Wed Mar 12 11:30:26 CET 2014 - ro@suse.de
- re-add missing function str2utf8xml
-------------------------------------------------------------------
Tue Mar 4 15:05:34 CET 2014 - ro@suse.de
- add appdata.xml.gz and app-icons.tar.gz if exising
-------------------------------------------------------------------
Tue Mar 4 12:28:08 CET 2014 - ro@suse.de
- drop use of BSUtil.pm
- drop private copy of ABXML.pm (will be added to inst-source-utils)
-------------------------------------------------------------------
Wed Feb 26 01:25:46 CET 2014 - ro@suse.de
- first working version
-------------------------------------------------------------------
Tue Feb 25 13:49:54 CET 2014 - ro@suse.de
- created initial package

View File

@ -0,0 +1,4 @@
name: instsource-susedata
version: 0.3.8
mtime: 1699461763
commit: 037bb9182dd89aaec9c471b206f2e0f4d6d72bb3

56
instsource-susedata.spec Normal file
View File

@ -0,0 +1,56 @@
#
# spec file for package instsource-susedata
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: instsource-susedata
Summary: Utility to add susedata to repomd metadata
License: GPL-2.0-only
Group: System/Management
Version: 0.3.8
Release: 0
Source: %{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: package-EULAs
BuildRequires: inst-source-utils
BuildRequires: perl(Locale::gettext)
BuildRequires: perl(URI::Escape)
BuildRequires: perl(XML::Structured)
Requires: inst-source-utils
Requires: perl(Locale::gettext)
Requires: perl(URI::Escape)
Requires: perl(XML::Structured)
Supplements: kiwi-instsource
BuildArch: noarch
%description
This utility scans repodata and adds susedata and EULAs where needed.
%prep
%setup -q
%check
perl -wc add_product_susedata || exit 1
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 add_product_susedata $RPM_BUILD_ROOT/usr/bin
%files
%license COPYING
/usr/bin/add_product_susedata
%changelog