obs-service-format_spec_file/obs-service-format_spec_file.spec
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

58 lines
1.6 KiB
RPMSpec

#
# spec file for package obs-service-format_spec_file
#
# Copyright (c) 2021 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: obs-service-format_spec_file
Version: 20210128
Release: 0
Summary: An OBS source service: reformats a spec file to SUSE standard
License: GPL-2.0-only
Group: Development/Tools/Building
URL: https://github.com/openSUSE/obs-service-format_spec_file
# osc service dr
Source: %{name}-%{version}.tar.bz2
Requires: obs-service-source_validator
BuildArch: noarch
%description
This is a source service for openSUSE Build Service.
This source service is formating the spec file to SUSE standard. The rational
behind is to make it easier to review spec files from unknown packagers.
This should be used in "trylocal" mode, so that osc is adapting the existing
spec file instead of creating a new one.
%prep
%setup -q
%build
%install
%make_install
%check
make check
%files
%license COPYING
%dir %{_prefix}/lib/obs
%{_prefix}/lib/obs/service
%changelog