|
|
|
@ -1,9 +1,10 @@
|
|
|
|
|
Summary: POSIX regexp functions
|
|
|
|
|
Name: librx
|
|
|
|
|
Version: 1.5
|
|
|
|
|
Release: 41%{?dist}
|
|
|
|
|
Release: 31%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.gnu.org/software/rx/rx.html
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
# Originally downloaded from ftp://ftp.gnu.org/gnu/rx/rx-1.5.tar.bz2
|
|
|
|
|
# The FSF no longer offers this code.
|
|
|
|
|
Source0: rx-%{version}.tar.bz2
|
|
|
|
@ -11,8 +12,8 @@ Patch0: rx-1.5-shared.patch
|
|
|
|
|
Patch1: rx-1.5-texinfo.patch
|
|
|
|
|
Patch2: librx-1.5-libdir64.patch
|
|
|
|
|
Patch3: rx-1.5-libtoolmode.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: texinfo, libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Rx is, among other things, an implementation of the interface
|
|
|
|
@ -22,6 +23,7 @@ library.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: POSIX regexp functions, developers library
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -43,7 +45,7 @@ This package contains files needed for development with librx.
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -Wl,-z,now"
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
make doc/rx.info
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -57,49 +59,35 @@ rm -rf ${RPM_BUILD_ROOT}%{_libdir}/librx.la
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_libdir}/librx.a
|
|
|
|
|
chmod -x ${RPM_BUILD_ROOT}%{_includedir}/rxposix.h
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
/sbin/install-info %{_infodir}/rx.info \
|
|
|
|
|
%{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/rx.info \
|
|
|
|
|
%{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ANNOUNCE BUILDING COOKOFF rx/ChangeLog
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_infodir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 17 2022 Josef Ridky <jridky@redhat.com> - 1.5-41
|
|
|
|
|
- add gating.yaml file
|
|
|
|
|
|
|
|
|
|
* Wed Feb 16 2022 Josef Ridky <jridky@redhat.com> - 1.5-40
|
|
|
|
|
- Fix annocheck failure (#2044876)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5-39
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5-38
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-37
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-36
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-35
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-34
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-33
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-32
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-31
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|