1ea286f
%global realname jiffy
1ea286f
1ea286f
Name:           erlang-%{realname}
dc457ac
Version:        1.0.1
d2bc6df
Release:        2%{?dist}
1ea286f
Summary:        Erlang JSON parser
dc457ac
License:        MIT and BSD
e539dde
URL:            https://github.com/davisp/%{realname}
2287564
Source0:	https://github.com/davisp/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
dc457ac
# Use double conversion from the system instead of the bundled one
e539dde
Patch1:         erlang-jiffy-0001-Use-system-double-conversion.patch
1ea286f
BuildRequires:  erlang-rebar
1ea286f
BuildRequires:  gcc-c++
b301887
BuildRequires:  double-conversion-devel
1ea286f
Provides:       %{realname} = %{version}
1ea286f
Obsoletes:      %{realname} < %{version}
1ea286f
e504d18
1ea286f
%description
1ea286f
A JSON parser for Erlang implemented as a NIF.
1ea286f
1ea286f
1ea286f
%prep
2287564
%autosetup -p 1 -n %{realname}-%{version}
dc457ac
# Use double conversion from the system instead of the bundled one
b301887
rm -r c_src/double-conversion
1ea286f
1ea286f
1ea286f
%build
eb95cb1
%{erlang_compile}
1ea286f
1ea286f
1ea286f
%install
eb95cb1
%{erlang_install}
1ea286f
1ea286f
a79bcaf
%check
eb95cb1
%{erlang_test}
a79bcaf
a79bcaf
1ea286f
%files
eb95cb1
%{erlang_appdir}/
Filip Andres 68700d9
%doc README.md
Filip Andres 68700d9
%license LICENSE
1ea286f
1ea286f
%changelog
d2bc6df
* Tue Nov 26 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.1-2
d2bc6df
- Bring jiffy back to s390x (#1772954).
d2bc6df
dc457ac
* Thu Nov 14 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.0.1-1
dc457ac
- Update to 1.0.1.
e504d18
- Add an exclusion on the s390 architecture (see rhbz#1770256).
dc457ac
d99aebb
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2-2
d99aebb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d99aebb
4ce9830
* Thu Feb 21 2019 Peter Lemenkov <lemenkov@gmail.com> - 0.15.2-1
4ce9830
- Ver. 0.15.2
4ce9830
f5ff9dd
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-7
f5ff9dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f5ff9dd
08ca547
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-6
08ca547
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
08ca547
3336891
* Wed Mar 21 2018 Peter Lemenkov <lemenkov@gmail.com> - 0.15.0-5
3336891
- Rebuild for Erlang 20 (with proper builddeps)
3336891
017694d
* Fri Feb 23 2018 Peter Lemenkov <lemenkov@gmail.com> - 0.15.0-4
017694d
- Rebuild for Erlang 20
017694d
ba28bfe
* Thu Feb 22 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.15.0-3
ba28bfe
- Rebuild for Erlang 20.
ba28bfe
6d74188
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
6d74188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6d74188
e539dde
* Tue Jan 30 2018 Peter Lemenkov <lemenkov@gmail.com> - 0.15.0-1
e539dde
- Ver. 0.15.0
e539dde
2287564
* Wed Nov 15 2017 Peter Lemenkov <lemenkov@gmail.com> - 0.14.13-1
2287564
- Ver. 0.14.13
2287564
0f192e5
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.8-6
0f192e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0f192e5
bd4104d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.8-5
bd4104d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bd4104d
cb930a7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.8-4
cb930a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cb930a7
143cfcd
* Mon Aug 01 2016 Lubomir Rintel <lkundrak@v3.sk> - 0.14.8-3
143cfcd
- Rebuild for newer erlang-nif
143cfcd
eb95cb1
* Fri Apr 22 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.14.8-2
eb95cb1
- Spec-file cleanup
eb95cb1
Filip Andres 6e8b242
* Wed Apr 6 2016 Filip Andres <filip@andresovi.net> - 0.14.8-1
Filip Andres 6e8b242
- Update to version 0.14.8
Filip Andres 6e8b242
c791804
* Wed Feb 10 2016 Peter Lemenkov <lemenkov@gmail.com> - 0.14.5-4
a79bcaf
- Add check stanza back
a79bcaf
bcef8ac
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.5-3
bcef8ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bcef8ac
Filip Andres f9429ee
* Sun Jan 31 2016 Filip Andres <filip@andresovi.net> - 0.14.5-2
Filip Andres f9429ee
- Remove check stanza until #1240487 is resolved
Filip Andres f9429ee
Filip Andres 68700d9
* Sun Dec 27 2015 Filip Andres <filip@andresovi.net> - 0.14.5-1
Filip Andres 68700d9
- Update to version 0.14.5
Filip Andres 68700d9
Filip Andres 96932f1
* Mon Jun 29 2015 Filip Andres <filip@andresovi.net> - 0.13.1-1
Filip Andres 96932f1
- Update to version 0.13.3
Filip Andres 96932f1
7f545ad
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-9
7f545ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7f545ad
b070bf6
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.8.5-8
b070bf6
- Rebuilt for GCC 5 C++11 ABI change
b070bf6
7a5bd96
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-7
7a5bd96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7a5bd96
dba8363
* Sat Jul 12 2014 Ville Skyttä <ville.skytta@iki.fi> - 0.8.5-6
dba8363
- Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely
dba8363
- Run unit tests during build
dba8363
ac51519
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-5
ac51519
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ac51519
b301887
* Tue Mar 18 2014 Ville Skyttä <ville.skytta@iki.fi> - 0.8.5-4
b301887
- Use system double-conversion instead of bundled one
b301887
1ea286f
* Wed Mar 12 2014 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 0.8.5-3
1ea286f
- Fix version number in version patch
1ea286f
1ea286f
* Wed Mar 12 2014 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 0.8.5-2
1ea286f
- Bring back Filip's version patch
1ea286f
- Rename to erlang-jiffy
1ea286f
- Adjust c++ requirement, as suggested by sir Andres
1ea286f
1ea286f
* Tue Mar 11 2014 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 0.8.5-1
1ea286f
- New version
1ea286f
- Remove the plt file
1ea286f
- Remove empty scriptlets
1ea286f
- Use correct compiler flags
1ea286f
- Remove artifacts not used by modern RPM
1ea286f
- Own the module directory
1ea286f
- Do not use bundled rebar
1ea286f
- No need for explicit GCC dependency
1ea286f
- Relax dependency on complete Erlang distribution
1ea286f
- Remove deproper patch
1ea286f
- Add documentation
1ea286f
- Fix library file mode
1ea286f
1ea286f
* Thu Jul 18 2013 Filip Andres <filip.andres@gooddata.com> - 0.8.3-1.gdc2
1ea286f
* Correcting the version inside jiffy.app and including jiffy_utf8
1ea286f
1ea286f
* Fri May 17 2013 Filip Andres <filip.andres@gooddata.com> - 0.8.3-1.gdc1
1ea286f
* Updating to 0.8.3
1ea286f
1ea286f
* Thu Jan 03 2013 Filip Andres <filip.andres@gooddata.com> - 0.6.1-1.gdc3
1ea286f
- Packaging the plt file with the rest of jiffy
1ea286f
1ea286f
* Wed Jan 02 2013 Filip Andres <filip.andres@gooddata.com> - 0.6.1-1.gdc2
1ea286f
- Building plt
1ea286f
1ea286f
* Mon Dec 10 2012 Filip Andres <filip.andres@gooddata.com> - 0.6.1-1.gdc1
1ea286f
- Imported version 0.6.1
1ea286f
1ea286f
* Mon Apr 16 2012 Filip Andres <filip.andres@gooddata.com> - 0.4.1
1ea286f
- Initial packaging