Blame SPECS/oniguruma.spec

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