diff --git a/.gitattributes b/.gitattributes index 9b03811..37a8eaa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ -## Default LFS +*.changes merge=merge-changes *.7z filter=lfs diff=lfs merge=lfs -text *.bsp filter=lfs diff=lfs merge=lfs -text *.bz2 filter=lfs diff=lfs merge=lfs -text @@ -12,6 +12,7 @@ *.pdf filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text *.rpm filter=lfs diff=lfs merge=lfs -text +*.tar 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 diff --git a/.gitignore b/.gitignore index 57affb6..8b731c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -.osc +*.obscpio +*.osc +_build.* +.pbuild diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..42be101 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,15 @@ +pkgname=obs-service-format_spec_file +pkgver=20250923 +pkgrel=0 +pkgdesc='An OBS source service: reformats a spec file to SUSE standard' +arch=('any') +url='https://github.com/openSUSE/obs-service-format_spec_file' +license=('GPL-2.0-only') +depends=('obs-service-source_validator') +source=($pkgname-$pkgver.tar.bz2) +sha256sums=('SKIP') + +package() { + cd "$pkgname-$pkgver" + make DESTDIR=$pkgdir install +} diff --git a/_servicedata b/_servicedata index c1a5a52..033bccd 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/openSUSE/obs-service-format_spec_file.git - f8724f13e9c826cda97145f20facec9dbdc17536 \ No newline at end of file + 80f69b6cdb83190259c3c1e2ede5b10e8e4e2613 \ No newline at end of file diff --git a/debian.dsc b/debian.dsc index e6fb86d..73e1414 100644 --- a/debian.dsc +++ b/debian.dsc @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-format-spec-file -Version: 20240121 +Version: 20250923 Binary: obs-service-format-spec-file Maintainer: Adrian Schroeter Architecture: all diff --git a/obs-service-format_spec_file-20240121.obscpio b/obs-service-format_spec_file-20240121.obscpio deleted file mode 100644 index 85ff309..0000000 --- a/obs-service-format_spec_file-20240121.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:736e44bc5a209fbe4b28e41461cd4c6d1807c457c36bd8c750ffb10a5945173d -size 1781772 diff --git a/obs-service-format_spec_file-20250923.obscpio b/obs-service-format_spec_file-20250923.obscpio new file mode 100644 index 0000000..cf904a3 --- /dev/null +++ b/obs-service-format_spec_file-20250923.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcda04a33cf8768fbd5eaab97fba7233deca76bec8345d76161aa740329cda2d +size 1878540 diff --git a/obs-service-format_spec_file.changes b/obs-service-format_spec_file.changes index f7ab720..8057677 100644 --- a/obs-service-format_spec_file.changes +++ b/obs-service-format_spec_file.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Mon Dec 1 20:05:51 UTC 2025 - Antonio Teixeira + +- Add PKGBUILD to enable builds for Arch Linux + +------------------------------------------------------------------- +Mon Sep 29 07:37:56 UTC 2025 - dmueller@suse.com + +- Update to version 20250923: + * Update test case for changes in 1ccd56d0 + * Empty section may contain empty lines instead of setting 'after_lines' + * Update test case for changes in 51da0388 + * Fix _split_final_comments hack + +------------------------------------------------------------------- +Thu Sep 18 06:49:39 UTC 2025 - dmueller@suse.com + +- Update to version 20250918: + * Don't add unneeded empty lines after Copyrights + +------------------------------------------------------------------- +Sun Sep 07 19:53:46 UTC 2025 - dmueller@suse.com + +- Update to version 20250907: + * Update test cases + * Special handling for 'SUSE Software Solutions Germany' license + * Keep 3rd party licenses intact + * Keep SUSE T&Cs close to SUSE Copyright + * Make create_copyright_section() return true when SUSE Copyright processed + +------------------------------------------------------------------- +Mon Aug 04 07:26:51 UTC 2025 - dmueller@suse.com + +- Update to version 20250804: + * Remove more LLC and contributors also from the copyright strings + +------------------------------------------------------------------- +Thu Jul 31 06:50:53 UTC 2025 - dmueller@suse.com + +- Update to version 20250725: + * Fix indentation to run checks on pull request + * Change autoadded copyright header to include "and contributors" + * Add 3 extra test-cases + * Run tests in github actions + * Preserve the order of multiple copyright lines. + * Allow for truly empty lines in copyright sections + * Accept empty lines in %changelog sections + * Update licenses + * Avoid using temporary files for tests + ------------------------------------------------------------------- Sun Jan 21 11:25:24 UTC 2024 - dmueller@suse.com diff --git a/obs-service-format_spec_file.obsinfo b/obs-service-format_spec_file.obsinfo index ba267d2..3357adb 100644 --- a/obs-service-format_spec_file.obsinfo +++ b/obs-service-format_spec_file.obsinfo @@ -1,4 +1,4 @@ name: obs-service-format_spec_file -version: 20240121 -mtime: 1705836660 -commit: f8724f13e9c826cda97145f20facec9dbdc17536 +version: 20250923 +mtime: 1758647193 +commit: 80f69b6cdb83190259c3c1e2ede5b10e8e4e2613 diff --git a/obs-service-format_spec_file.spec b/obs-service-format_spec_file.spec index 320eacf..5065d17 100644 --- a/obs-service-format_spec_file.spec +++ b/obs-service-format_spec_file.spec @@ -1,7 +1,7 @@ # # spec file for package obs-service-format_spec_file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: obs-service-format_spec_file -Version: 20240121 +Version: 20250923 Release: 0 Summary: An OBS source service: reformats a spec file to SUSE standard License: GPL-2.0-only