forked from pool/python-rjsmin
Accepting request 970122 from home:pgajdos:python
- version update to 1.2.0 *) Improve regex detection. Fixes #17, #23 *) Add aarch64 wheels (issue #24, #25, contributed by odidev) *) Add tests to source distribution (issue #20, contributed by dvzrv) *) bytearray input now produces bytearray output *) Update python support: 2.7, 3.6+ *) Emit the correct env var name in the warning message if the compilation of the C implementation fails. - modified patches % reproducible.patch (refreshed) OBS-URL: https://build.opensuse.org/request/show/970122 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rjsmin?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 14 08:35:15 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.2.0
|
||||
*) Improve regex detection. Fixes #17, #23
|
||||
*) Add aarch64 wheels (issue #24, #25, contributed by odidev)
|
||||
*) Add tests to source distribution (issue #20, contributed by dvzrv)
|
||||
*) bytearray input now produces bytearray output
|
||||
*) Update python support: 2.7, 3.6+
|
||||
*) Emit the correct env var name in the warning message if the compilation of
|
||||
the C implementation fails.
|
||||
- modified patches
|
||||
% reproducible.patch (refreshed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 20 09:44:09 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-rjsmin
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,15 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define mod_name rjsmin
|
||||
%define release_sha 53a0848b2372c1b49c03326bc8209ea39e889c47
|
||||
%bcond_without python2
|
||||
Name: python-%{mod_name}
|
||||
Version: 1.1.0
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: A JavaScript minifier written in Python
|
||||
License: Apache-2.0
|
||||
URL: http://opensource.perlig.de/rjsmin/
|
||||
Source: https://github.com/ndparker/rjsmin/archive/%{release_sha}.tar.gz#/%{mod_name}-%{version}.tar.gz
|
||||
Source: https://github.com/ndparker/rjsmin/archive/refs/tags/%{version}.tar.gz#/rjsmin-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE -- build without profiling
|
||||
Patch0: reproducible.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
@@ -49,7 +48,7 @@ The module is a re-implementation targeting speed, so it can be used
|
||||
at runtime (rather than during a preprocessing step).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{release_sha}
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
|
@@ -1,13 +1,13 @@
|
||||
Date: 2019-05-18
|
||||
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
||||
|
||||
|
||||
Do not instrument code with profiling
|
||||
to make build reproducible
|
||||
and also more sane in general
|
||||
Index: rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47/debug.unix.cflags
|
||||
Index: rjsmin-1.2.0/debug.unix.cflags
|
||||
===================================================================
|
||||
--- rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47.orig/debug.unix.cflags
|
||||
+++ rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47/debug.unix.cflags
|
||||
--- rjsmin-1.2.0.orig/debug.unix.cflags
|
||||
+++ rjsmin-1.2.0/debug.unix.cflags
|
||||
@@ -1,28 +0,0 @@
|
||||
-# allow crash debugging
|
||||
--ggdb
|
||||
@@ -17,7 +17,7 @@ Index: rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47/debug.unix.cflags
|
||||
--fprofile-arcs
|
||||
-
|
||||
-# don't compile on weird code
|
||||
--std=c89 -pedantic -fno-strict-aliasing -Werror
|
||||
--std=c99 -pedantic -fno-strict-aliasing -Werror
|
||||
--Wall
|
||||
--Wbad-function-cast
|
||||
--Wcast-align
|
||||
@@ -27,7 +27,7 @@ Index: rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47/debug.unix.cflags
|
||||
--Wextra
|
||||
--Winit-self
|
||||
--Wmissing-declarations
|
||||
--Wmissing-include-dirs
|
||||
-# -Wmissing-include-dirs
|
||||
--Wmissing-prototypes
|
||||
--Wnested-externs
|
||||
--Wno-long-long
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2e6628107d89defc4f8187263e9444c392ee021058baaff188f9b6dae651a01
|
||||
size 437023
|
3
rjsmin-1.2.0.tar.gz
Normal file
3
rjsmin-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8fc5f9dd1d3d0e2a617a22ad0034d16e7d7b53d937145dad00775f6726d70c96
|
||||
size 443279
|
Reference in New Issue
Block a user