Commit Graph

215 Commits

Author SHA256 Message Date
Ana Guerrero
b0dd956763 Accepting request 1140288 from openSUSE:Tools
- Update to version 20240121:
  * update licenses
  * Fix formatting of overlong tags
  * set header_name to the spec file name
  * Sync licenses with SPDX spec

- do not enter empty license line if not found (eg in include file)
  (bnc#624980)
- fix empty line handling (multiple subsequent empty lines)
  lines in a package, for example in if-constructs)
- cleanup prepare_spec, drop Needed.pm

OBS-URL: https://build.opensuse.org/request/show/1140288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=86
2024-01-21 22:10:24 +00:00
c77aea9340 * update licenses
- do not enter empty license line if not found (eg in include file)
  (bnc#624980)
- fix empty line handling (multiple subsequent empty lines)
  lines in a package, for example in if-constructs)
- cleanup prepare_spec, drop Needed.pm

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=208
2024-01-21 11:35:49 +00:00
cb3b16a7da - Update to version 20240121:
* Fix formatting of overlong tags
  * set header_name to the spec file name
  * Sync licenses with SPDX spec

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=207
2024-01-21 11:25:42 +00:00
Dominique Leuenberger
6f8065e179 Accepting request 1098351 from openSUSE:Tools
- Update to version 20230712:
  * Sync SPDX licenses
  * Sync SPDX licenses

OBS-URL: https://build.opensuse.org/request/show/1098351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=85
2023-07-12 15:28:09 +00:00
c4603d8355 - Update to version 20230712:
* Sync SPDX licenses
  * Sync SPDX licenses

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=205
2023-07-12 11:17:34 +00:00
Dominique Leuenberger
f893a7d668 Accepting request 1088428 from openSUSE:Tools
- Update to version 20230522:
  * Sync SPDX licenses
  * Add needspubkeyforbuild

OBS-URL: https://build.opensuse.org/request/show/1088428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=84
2023-05-23 12:54:16 +00:00
2371203c30 - Update to version 20230522:
* Sync SPDX licenses
  * Add needspubkeyforbuild

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=203
2023-05-22 16:10:32 +00:00
Dominique Leuenberger
183aacf425 Accepting request 1035530 from openSUSE:Tools
- Update to version 20221113:
  * licences_exceptions.txt: rename to licenses_exceptions.txt
  * Fetch updated licenses
  * Add test case for bsc#1194504

OBS-URL: https://build.opensuse.org/request/show/1035530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=83
2022-11-14 13:28:48 +00:00
Stephan Kulow
6edcd8fe9e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=201 2022-11-13 18:25:49 +00:00
Stephan Kulow
80910a04ee - Update to version 20221113:
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=200
2022-11-13 18:25:32 +00:00
Stephan Kulow
7997eb56f5 - Update to version 20220603:
* licences_exceptions.txt: rename to licenses_exceptions.txt
  * Fetch updated licenses
  * Add test case for bsc#1194504

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=199
2022-11-13 14:10:47 +00:00
Dominique Leuenberger
76fbd5984e Accepting request 940684 from openSUSE:Tools
Add boo reference to sync with SLE's changelog

  (for boo#1160801 Update SUSE copyright string) (forwarded request 940673 from alarrosa)

OBS-URL: https://build.opensuse.org/request/show/940684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=82
2021-12-16 20:18:54 +00:00
892e505567 Accepting request 940673 from home:alarrosa:branches:openSUSE:Tools
Add boo reference to sync with SLE's changelog

  (for boo#1160801 Update SUSE copyright string)

OBS-URL: https://build.opensuse.org/request/show/940673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=198
2021-12-15 09:16:10 +00:00
Dominique Leuenberger
d00e774f44 Accepting request 931492 from openSUSE:Tools
- Update to version 20211115:
  * Sync license identifiers from SPDX (#50)

OBS-URL: https://build.opensuse.org/request/show/931492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=81
2021-11-20 01:38:05 +00:00
Stephan Kulow
84bad68684 - Update to version 20211115:
* Sync license identifiers from SPDX (#50)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=197
2021-11-15 08:43:01 +00:00
Dominique Leuenberger
d7beaf25d4 Accepting request 892275 from openSUSE:Tools
- Update to version 20210511:
  * Refresh licenses from spdx.org
  * Be more wary on usage of macros in Tags
  * Do not Cache Source.* but only Source[0-9]*
  * Stop pretending we can guess what the spec file is for
  * Avoid deep recursion in merge_comments
  * Allow to override date (#45)

OBS-URL: https://build.opensuse.org/request/show/892275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=80
2021-05-15 21:14:57 +00:00
Stephan Kulow
c6a3e40df3 - Update to version 20210511:
* Refresh licenses from spdx.org
  * Be more wary on usage of macros in Tags
  * Do not Cache Source.* but only Source[0-9]*
  * Stop pretending we can guess what the spec file is for
  * Avoid deep recursion in merge_comments
  * Allow to override date (#45)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=195
2021-05-11 17:01:00 +00:00
Dominique Leuenberger
0034450a50 Accepting request 867421 from openSUSE:Tools
- Update to version 20210128:
  * Split out final comments in description
  * Make a special exception for short %p* snippets
  * Also split Conflict headers
  * Keep the old require sorting
  * Improve the performance of reorder_tags
  * Fix merge_comments
  * Do not split %if and section start
  * Support multiline copyrights (for Firefox)
  * Simplify how to calculcate the base_package
  * Split tag values of certain tags
  * Be careful with macros that appear between tags
  * Replace SPDX mapper with an advanced version
  * Fix merging empty sections
  * Allow before lines to commented tags
  * Keep comments close to the original line
  * Review some deltas in the test suites that are acceptable for now
  * Parse more into the description - basically everything for now
  * Fix Release tag
  * Add an empty line before each section
  * Map SPDX licenses
  * Fix more test cases
  * Adopt some test cases and fix some others
  * Reorder tags that are below each other
  * Fix whitespace
  * Little progress
  * Add test cases for spec-file cleaner (with current output)
  * Use perltidy like Cavil
  * Remove patch_license - old helper script for mass migration
  * Test case for issue 19

OBS-URL: https://build.opensuse.org/request/show/867421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=79
2021-03-12 12:30:38 +00:00
Stephan Kulow
a70fee0eb2 - Update to version 20210128:
* Split out final comments in description
  * Make a special exception for short %p* snippets
  * Also split Conflict headers
  * Keep the old require sorting
  * Improve the performance of reorder_tags
  * Fix merge_comments
  * Do not split %if and section start
  * Support multiline copyrights (for Firefox)
  * Simplify how to calculcate the base_package
  * Split tag values of certain tags
  * Be careful with macros that appear between tags
  * Replace SPDX mapper with an advanced version
  * Fix merging empty sections
  * Allow before lines to commented tags
  * Keep comments close to the original line
  * Review some deltas in the test suites that are acceptable for now
  * Parse more into the description - basically everything for now
  * Fix Release tag
  * Add an empty line before each section
  * Map SPDX licenses
  * Fix more test cases
  * Adopt some test cases and fix some others
  * Reorder tags that are below each other
  * Fix whitespace
  * Little progress
  * Add test cases for spec-file cleaner (with current output)
  * Use perltidy like Cavil
  * Remove patch_license - old helper script for mass migration
  * Test case for issue 19

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=193
2021-01-28 10:09:19 +00:00
Dominique Leuenberger
a8e0ccce04 Accepting request 748701 from openSUSE:Tools
- Update to version 20191114:
  * Use copyright line without the . at the end

OBS-URL: https://build.opensuse.org/request/show/748701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=78
2019-11-18 19:04:42 +00:00
Ruediger Oertel
8444a97c61 - Update to version 20191114:
* Use copyright line without the . at the end

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=191
2019-11-14 14:53:59 +00:00
Dominique Leuenberger
6eca339b09 Accepting request 745988 from openSUSE:Tools
- Update to version 20191106:
  * treat %global like %define (handle issue#17) (#38)
  * change copyright entry to SUSE LLC (handle issue#35) (#36)
  * reformat url as uppercase URL (handle issue#24) (#37)

OBS-URL: https://build.opensuse.org/request/show/745988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=77
2019-11-11 11:57:49 +00:00
Ruediger Oertel
97c2c4317a - Update to version 20191106:
* treat %global like %define (handle issue#17) (#38)
  * change copyright entry to SUSE LLC (handle issue#35) (#36)
  * reformat url as uppercase URL (handle issue#24) (#37)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=189
2019-11-06 12:39:03 +00:00
Dominique Leuenberger
a44f604dfe Accepting request 693192 from openSUSE:Tools
- Update to version 20190411:
  * Update SPDX license list

OBS-URL: https://build.opensuse.org/request/show/693192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=76
2019-04-17 08:05:01 +00:00
Stephan Kulow
7b4162b12b - Update to version 20190411:
* Update SPDX license list

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=187
2019-04-11 11:00:12 +00:00
Dominique Leuenberger
63a7d1c145 Accepting request 684536 from openSUSE:Tools
- Switch to obs_scm with buildtime compression

- Update to version 20190312:
  * prepare_spec: try to keep rich deps unbroken (bsc#1125035)

OBS-URL: https://build.opensuse.org/request/show/684536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=75
2019-03-18 09:35:47 +00:00
Stephan Kulow
a5d7326952 - Switch to obs_scm with buildtime compression
- Update to version 20190312:
  * prepare_spec: try to keep rich deps unbroken (bsc#1125035)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=185
2019-03-13 06:16:23 +00:00
Yuchen Lin
260fa6d743 Accepting request 631230 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/631230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=74
2018-09-11 15:09:29 +00:00
3992623912 Accepting request 630466 from home:scarabeus_iv:branches:openSUSE:Tools
- Version update to version 20180820:
  * In header use https not http when pointing to bugzilla

OBS-URL: https://build.opensuse.org/request/show/630466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=183
2018-08-24 06:43:41 +00:00
Dominique Leuenberger
4bf62e27cd Accepting request 590861 from openSUSE:Tools
- Update to version 20180306:
  + do not patch URL nor Url

OBS-URL: https://build.opensuse.org/request/show/590861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=73
2018-03-29 09:48:25 +00:00
Stephan Kulow
8d46c36cec - Update to version 20180306:
+ do not patch URL nor Url

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=181
2018-03-06 09:29:22 +00:00
Dominique Leuenberger
1107b77bfe Accepting request 576961 from openSUSE:Tools
- Update to version 20180215:
  + map GPL-1.0 to GPL-1.0-only

- Update to version 20180214:
  + adapt license list for SPDX 3.0
  + remove readd-exceptions.patch

OBS-URL: https://build.opensuse.org/request/show/576961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=72
2018-02-21 13:05:56 +00:00
Stephan Kulow
f474a97924 - Update to version 20180215:
+ map GPL-1.0 to GPL-1.0-only

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=179
2018-02-15 11:08:09 +00:00
Stephan Kulow
2f25a1b67f + remove readd-exceptions.patch
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=178
2018-02-14 17:49:55 +00:00
Stephan Kulow
d435a29bd2 - adapt package list for SPDX 3.0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=177
2018-02-14 17:32:09 +00:00
Dominique Leuenberger
60962d81fc Accepting request 541730 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/541730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=71
2017-11-16 12:57:50 +00:00
Stephan Kulow
c7ce1e09db Accepting request 540225 from home:dimstar:branches:openSUSE:Tools
- Update to version 20171107:
  + Update licenses.
  + SPDX conjunction / disjunction operators are capitalized.
- Rebase readd-exceptions.patch.

OBS-URL: https://build.opensuse.org/request/show/540225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=175
2017-11-14 05:59:49 +00:00
Dominique Leuenberger
c2a66de721 Accepting request 454611 from openSUSE:Tools
- update licenes (from git)

OBS-URL: https://build.opensuse.org/request/show/454611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=70
2017-02-08 09:50:50 +00:00
Stephan Kulow
71e16b1247 - update licenes (from git)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=173
2017-02-04 06:52:40 +00:00
Dominique Leuenberger
6cbfa3c47b Accepting request 433557 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/433557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=69
2016-10-10 15:29:12 +00:00
Ruediger Oertel
8a1191eb78 - Handle needssslcertforbuild directive
- Handle empty output directory
- Improve the license and group comments handling

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=171
2016-09-29 09:37:42 +00:00
Dominique Leuenberger
adb8fa07b9 Accepting request 423964 from openSUSE:Tools
- Update to 20160406
  * Update licenses
  * Fetch SPDX license exceptions (bsc#973404)

OBS-URL: https://build.opensuse.org/request/show/423964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=68
2016-09-05 19:13:42 +00:00
Stephan Kulow
65e002beed fix URL
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=169
2016-08-31 09:18:01 +00:00
Stephan Kulow
5ad147e2ef Accepting request 421723 from home:susnux:branches:openSUSE:Tools
Added missing licenses

OBS-URL: https://build.opensuse.org/request/show/421723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=168
2016-08-31 09:14:56 +00:00
Frank Schreiner
4b2bb7c2ff filter for directories
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=167
2016-03-16 09:50:27 +00:00
Frank Schreiner
1692442fae merged update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=166
2016-03-16 09:42:57 +00:00
Dominique Leuenberger
fb2158b283 Accepting request 357331 from openSUSE:Tools
- update licenses

OBS-URL: https://build.opensuse.org/request/show/357331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=67
2016-02-07 08:21:27 +00:00
Stephan Kulow
f4da9c564c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=164 2016-02-02 10:33:42 +00:00
Stephan Kulow
ee729431ef - update licenses
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=163
2016-02-02 10:27:40 +00:00
Dominique Leuenberger
719a42e269 Accepting request 328894 from openSUSE:Tools
- update licenses
- silence warnings in perl 5.22

OBS-URL: https://build.opensuse.org/request/show/328894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file?expand=0&rev=66
2015-09-13 07:43:17 +00:00