Files
grex/grex.spec
Soc Virnyl Estela e1e954570d Accepting request 1155535 from home:smolsheep:upgrades
- Modernized rust in specfile and enabled tests
- Update to version 1.4.5:
  * All dependencies have been updated to their latest versions
  * For a small set of special characters, grex produced incorrect
    regular expressions when the case-insensitivity feature was
    enabled. This has been fixed.
  * The code for creating regular expressions in verbose mode has
    been simplified and is more performant now.
- License correction based on legaldb scan 
- Update to version 1.4.4:
  * All dependencies have been updated to their latest versions.
- Python library excluded from the package by changes to --features
- Update to version 1.4.2:
  Improvements:
  * All characters from the current Unicode standard 15.0 are now
    fully supported.
  * A proper exit code is now returned if the provided user input
    cannot be handled by the CLI.
  Fixes:
  * Several bugs have been fixed that caused incorrect expressions
    to be generated in rare cases.
- Removal of unneeded _constraints
    
- Initial spec for grex 1.4.1

OBS-URL: https://build.opensuse.org/request/show/1155535
OBS-URL: https://build.opensuse.org/package/show/utilities/grex?expand=0&rev=7
2024-03-06 23:29:14 +00:00

55 lines
1.8 KiB
RPMSpec

#
# spec file for package grex
#
# Copyright (c) 2024 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: grex
Version: 1.4.5
Release: 0
Summary: CLI regex generator
License: Apache-2.0 AND MPL-2.0 AND MIT AND (Apache-2.0 OR MIT) AND BSL-1.0 AND Apache-2.0 WITH LLVM-exception
URL: https://github.com/pemistahl/grex
Source0: https://github.com/pemistahl/grex/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
%description
grex is a library as well as a command-line utility that is meant to simplify the
often complicated and tedious task of creating regular expressions. It does so by
automatically generating a single regular expression from user-provided test cases.
The resulting expression is guaranteed to match the test cases which it was generated from.
It started as a Rust port of the JavaScript tool regexgen written by Devon Govett.
%prep
%autosetup -a 1
%build
%{cargo_build} --features "default cli"
%install
%{cargo_install} --features "default cli"
%check
%{cargo_test} --features "default cli"
%files
%doc *.md
%license LICENSE
%{_bindir}/%{name}
%changelog