Blame SPECS/oniguruma.spec

27e8af
%undefine	_changelog_trimtime
27e8af
27e8af
%global	mainver	6.9.6
27e8af
#%%global	betaver	rc4
27e8af
#%%define	prerelease	1
27e8af
27e8af
%global	fedorarel	1
27e8af
27e8af
Name:		oniguruma
27e8af
Version:	%{mainver}
27e8af
Release:	%{?prerelease:0.}%{fedorarel}%{?betaver:.%betaver}%{?dist}.5
27e8af
Summary:	Regular expressions library
27e8af
27e8af
License:	BSD
27e8af
URL:		https://github.com/kkos/oniguruma/
27e8af
Source0:	https://github.com/kkos/oniguruma/releases/download/v%{mainver}%{?betaver:_%betaver}/onig-%{mainver}%{?betaver:-%betaver}.tar.gz
27e8af
27e8af
BuildRequires:	make
27e8af
BuildRequires:	gcc
27e8af
27e8af
%description
27e8af
Oniguruma is a regular expressions library.
27e8af
The characteristics of this library is that different character encoding
27e8af
for every regular expression object can be specified.
27e8af
(supported APIs: GNU regex, POSIX and Oniguruma native)
27e8af
27e8af
27e8af
%package	devel
27e8af
Summary:	Development files for %{name}
27e8af
Requires:	%{name}%{?isa} = %{version}-%{release}
27e8af
27e8af
%description    devel
27e8af
The %{name}-devel package contains libraries and header files for
27e8af
developing applications that use %{name}.
27e8af
27e8af
27e8af
%prep
27e8af
%setup -q -n onig-%{mainver}
27e8af
%{__sed} -i.multilib -e 's|-L@libdir@||' onig-config.in
27e8af
27e8af
27e8af
%build
27e8af
# This package fails its testsuite when compiled with LTO, but the real problem
27e8af
# is that it ends up mixing and matching regexp bits between itself and glibc.
27e8af
# Disable LTO
27e8af
#%%define _lto_cflags %%{nil}
27e8af
27e8af
%configure \
27e8af
	--enable-posix-api \
27e8af
	--enable-binary-compatible-posix-api \
27e8af
	--disable-silent-rules \
27e8af
	--disable-static \
27e8af
	--with-rubydir=%{_bindir}
27e8af
%make_build
27e8af
27e8af
27e8af
%install
27e8af
%{__make} install \
27e8af
	DESTDIR=$RPM_BUILD_ROOT \
27e8af
	INSTALL="%{__install} -c -p"
27e8af
find $RPM_BUILD_ROOT -name '*.la' \
27e8af
	-exec %{__rm} -f {} ';'
27e8af
27e8af
%check
27e8af
%{__make} check
27e8af
27e8af
%ldconfig_scriptlets
27e8af
27e8af
27e8af
%files
27e8af
%defattr(-,root,root,-)
27e8af
%doc	AUTHORS
27e8af
%license	COPYING
27e8af
%doc	HISTORY
27e8af
%doc	README.md
27e8af
%doc	index.html
27e8af
%lang(ja)	%doc	README_japanese
27e8af
%lang(ja)	%doc	index_ja.html
27e8af
27e8af
%{_libdir}/libonig.so.5*
27e8af
27e8af
%files devel
27e8af
%defattr(-,root,root,-)
27e8af
%doc	doc/API
27e8af
%doc	doc/CALLOUTS.API
27e8af
%doc	doc/CALLOUTS.BUILTIN
27e8af
%doc	doc/FAQ
27e8af
%doc	doc/RE
27e8af
%doc	doc/SYNTAX.md
27e8af
%doc	doc/UNICODE_PROPERTIES
27e8af
%lang(ja)	%doc	doc/API.ja
27e8af
%lang(ja)	%doc	doc/CALLOUTS.API.ja
27e8af
%lang(ja)	%doc	doc/CALLOUTS.BUILTIN.ja
27e8af
%lang(ja)	%doc	doc/FAQ.ja
27e8af
%lang(ja)	%doc	doc/RE.ja
27e8af
27e8af
%{_bindir}/onig-config
27e8af
27e8af
%{_libdir}/libonig.so
27e8af
%{_includedir}/onig*.h
27e8af
%{_libdir}/pkgconfig/%{name}.pc
27e8af
27e8af
%changelog
27e8af
* Thu Dec 09 2021 Jiri Kucera <jkucera@redhat.com> - 6.9.6-1.5
27e8af
- Enable LTO
27e8af
  Resolves: #1990100
27e8af
27e8af
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.9.6-1.4
27e8af
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
27e8af
  Related: rhbz#1991688
27e8af
27e8af
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.9.6-1.3
27e8af
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
27e8af
27e8af
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.6-1.2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
27e8af
27e8af
* Thu Nov  5 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.6-1
27e8af
- 6.9.6
27e8af
27e8af
* Wed Oct 21 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.6-0.4.rc4
27e8af
- 6.9.6 rc4
27e8af
27e8af
* Tue Oct 20 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.6-0.3.rc3
27e8af
- Apply upstream patch for upstream bug 221
27e8af
  - Revert change for false CVE-2020-26159 issue
27e8af
    https://github.com/kkos/oniguruma/issues/221
27e8af
27e8af
* Sat Oct 17 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.6-0.2.rc3
27e8af
- 6.9.6 rc3
27e8af
27e8af
* Mon Oct 12 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.6-0.1.rc2
27e8af
- 6.9.6 rc2
27e8af
- Apply upstream patch to keep binary compatibility with 6.9.5
27e8af
27e8af
* Thu Oct  1 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.5-3.rev1
27e8af
- Apply upstream fix for CVE-2020-26159
27e8af
27e8af
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.5-2.rev1.1
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
27e8af
27e8af
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 6.9.5-2.rev1.1
27e8af
- Use make macros
27e8af
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
27e8af
27e8af
* Wed Jul  1 2020 Jeff Law <law@redhat.com> - 6.9.5-2.rev1
27e8af
- Disable LTO
27e8af
27e8af
* Thu May  7 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.5-1.rev1
27e8af
- 6.9.5 revised 1
27e8af
27e8af
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.4-1.1
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
27e8af
27e8af
* Fri Nov 29 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.4-1
27e8af
- 6.9.4 final
27e8af
27e8af
* Fri Nov 29 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.4-0.2.rc3
27e8af
- 6.9.4 rc3 (CVE-2019-19204 CVE-2019-19203 CVE-2019-19012)
27e8af
27e8af
* Sat Nov  9 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.4-0.1.rc1
27e8af
- 6.9.4 rc1 (CVE-2019-19246)
27e8af
27e8af
* Sun Aug 11 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.3-1
27e8af
- 6.9.3 (CVE-2019-13224 CVE-2019-13225 CVE-2019-16163)
27e8af
27e8af
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.2-2.1
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
27e8af
27e8af
* Fri Jul 12 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.2-2
27e8af
- Upstream patch for CVE-2019-13225 (#1728966)
27e8af
- NON-upstream patch for CVE-2019-13224 (#1728971)
27e8af
27e8af
* Tue May  7 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.2-1
27e8af
- rc3 released as 6.9.2 final release
27e8af
27e8af
* Wed Apr 24 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.2-0.1.rc3
27e8af
- 6.9.2-rc3
27e8af
27e8af
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.9.1-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
27e8af
27e8af
* Wed Dec 12 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.1-1
27e8af
- 6.9.1
27e8af
27e8af
* Wed Sep 12 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.9.0-2
27e8af
- 6.9.0
27e8af
27e8af
* Sat Sep  8 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.8.2-3
27e8af
- Bump release
27e8af
27e8af
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.8.2-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
27e8af
27e8af
* Mon Apr 23 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.8.2-1
27e8af
- 6.8.2
27e8af
27e8af
* Sun Apr  1 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.8.1-1
27e8af
- 6.8.1
27e8af
27e8af
* Fri Feb  9 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.7.1-1
27e8af
- 6.7.1
27e8af
27e8af
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.0-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
27e8af
27e8af
* Sun Dec 31 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.7.0-1
27e8af
- 6.7.0
27e8af
27e8af
* Tue Sep  5 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.6.1-1
27e8af
- 6.6.1
27e8af
27e8af
* Sun Aug 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.5.0-1
27e8af
- 6.5.0
27e8af
27e8af
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.0-3
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
27e8af
27e8af
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.0-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
27e8af
27e8af
* Wed Jul  5 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.4.0-1
27e8af
- 6.4.0
27e8af
27e8af
* Tue May 30 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.3.0-1
27e8af
- 6.3.0
27e8af
  - CVEs 2017-9226 CVE-2017-9225 CVE-2017-9224 CVE-2017-9227 CVE-2017-9229 CVE-2017-9228
27e8af
27e8af
* Wed Apr 26 2017 Nils Philippsen <nils@redhat.com> - 6.2.0-2
27e8af
- remove unnecessary BR: ruby
27e8af
27e8af
* Fri Apr 21 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.2.0-1
27e8af
- 6.2.0
27e8af
27e8af
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.3-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
27e8af
27e8af
* Wed Dec 28 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.1.3-1
27e8af
- 6.1.3
27e8af
27e8af
* Fri Nov 11 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.1.2-1
27e8af
- 6.1.2
27e8af
27e8af
* Sun Oct 30 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.1.1-1
27e8af
- 6.1.1
27e8af
27e8af
* Mon Jul 11 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.0.0-1
27e8af
- 6.0.0
27e8af
27e8af
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.6-3
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
27e8af
27e8af
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.6-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
27e8af
27e8af
* Fri Jan  2 2015 <mtasaka@fedoraproject.org> - 5.9.6-1
27e8af
- 5.9.6
27e8af
27e8af
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.5-3
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
27e8af
27e8af
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.5-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
27e8af
27e8af
* Mon Nov 11 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.9.5-1
27e8af
- 5.9.5
27e8af
27e8af
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.4-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
27e8af
27e8af
* Mon Apr 29 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.9.4-1
27e8af
- 5.9.4
27e8af
27e8af
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.3-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
27e8af
27e8af
* Fri Jan  4 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.9.3-1
27e8af
- 5.9.3
27e8af
27e8af
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.2-4
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
27e8af
27e8af
* Thu Jan  5 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 5.9.2-3
27e8af
- F-17: rebuild against gcc47
27e8af
27e8af
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.2-2
27e8af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
27e8af
27e8af
* Fri Jan 15 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 5.9.2-1
27e8af
- 5.9.2
27e8af
27e8af
* Sat Jul 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 5.9.1-3
27e8af
- F-12: Mass rebuild
27e8af
27e8af
* Tue Feb 24 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 5.9.1-2
27e8af
- F-11: Mass rebuild
27e8af
27e8af
* Sat Feb  9 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
27e8af
- Rebuild against gcc43
27e8af
27e8af
* Thu Dec 27 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 5.9.1-1
27e8af
- 5.9.1
27e8af
27e8af
* Wed Dec  5 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 5.9.0-1
27e8af
- Initial packaging
27e8af