|
|
|
@ -1,20 +1,15 @@
|
|
|
|
|
%global ver 1.19
|
|
|
|
|
#%%global snap rc1
|
|
|
|
|
%global srcver %{ver}%{?snap:-%{snap}}
|
|
|
|
|
%global sover 0
|
|
|
|
|
%define ver 1.18
|
|
|
|
|
#define snap rc1
|
|
|
|
|
%define srcver %{ver}%{?snap:-%{snap}}
|
|
|
|
|
|
|
|
|
|
Summary: C library for parsing command line parameters
|
|
|
|
|
Name: popt
|
|
|
|
|
Version: %{ver}%{?snap:~%{snap}}
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
# COPYING: MIT text
|
|
|
|
|
# po/eo.po: LicenseRef-Fedora-Public-Domain
|
|
|
|
|
# po/fi.po: MIT AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
# po/lv.po: MIT AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
# popt.3: MIT ("the X consortium license, see the file COPYING")
|
|
|
|
|
License: MIT AND LicenseRef-Fedora-Public-Domain
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/rpm-software-management/popt/
|
|
|
|
|
Source0: http://ftp.rpm.org/popt/releases/popt-1.x/%{name}-%{srcver}.tar.gz
|
|
|
|
|
Patch0: popt-1.18-imp-covscan-fixes.patch
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: make
|
|
|
|
@ -31,7 +26,6 @@ shell-like rules.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for the popt library
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -42,7 +36,6 @@ API documentation of the popt library, too.
|
|
|
|
|
%if 0%{!?_without_static:1}
|
|
|
|
|
%package static
|
|
|
|
|
Summary: Static library for parsing command line parameters
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description static
|
|
|
|
@ -60,18 +53,24 @@ Install it if you need to link statically with libpopt.
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
# Don't install any libtool .la files
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libpopt.la
|
|
|
|
|
|
|
|
|
|
# Multiple popt configurations are possible
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/popt.d/
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check || (cat tests/*.log; exit 1)
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc CHANGES
|
|
|
|
|
%{_sysconfdir}/popt.d/
|
|
|
|
|
%{_libdir}/libpopt.so.%{sover}*
|
|
|
|
|
%{_libdir}/libpopt.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc README
|
|
|
|
@ -86,54 +85,18 @@ make check || (cat tests/*.log; exit 1)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.19-8
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.19-7
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 23 2023 Petr Pisar <ppisar@redhat.com> - 1.19-4
|
|
|
|
|
- Correct a license tag to "MIT AND LicenseRef-Fedora-Public-Domain"
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 16 2022 Robert Scheck <robert@fedoraproject.org> 1.19-1
|
|
|
|
|
- Upgrade to 1.19 (#2127400)
|
|
|
|
|
|
|
|
|
|
* Wed Aug 24 2022 Panu Matilainen <pmatilai@redhat.com> - 1.19~rc1-4
|
|
|
|
|
- Restore the memleak fix now that authselect should be fixed
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.19~rc1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 1.19~rc1-2
|
|
|
|
|
- Temporarily revert a memleak fix due to authselect breakage (#2100287)
|
|
|
|
|
|
|
|
|
|
* Wed Jun 22 2022 Panu Matilainen <pmatilai@redhat.com> - 1.19~rc1-1
|
|
|
|
|
- Rebase to 1.19-rc1 (https://github.com/rpm-software-management/popt/releases/tag/popt-1.19-rc1)
|
|
|
|
|
- Remove manual .la cleanup, it's automatic nowadays
|
|
|
|
|
- Add a guard against accidental soname changes
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.18-8
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
* Tue Jul 20 2021 Michal Domonkos <mdomonko@redhat.com> - 1.18-7
|
|
|
|
|
- Add gating.yaml
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Mon Jul 19 2021 Michal Domonkos <mdomonko@redhat.com> - 1.18-6
|
|
|
|
|
- Address important covscan issues (#1938846)
|
|
|
|
|
|
|
|
|
|
* Wed Jun 23 2021 Panu Matilainen <pmatilai@redhat.com> - 1.18-5
|
|
|
|
|
- Fix test-suite expectation on rawhide
|
|
|
|
|
- Dump test-suite logs for post-mortem on failure
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.18-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Sat Mar 06 2021 Robert Scheck <robert@fedoraproject.org> 1.18-4
|
|
|
|
|
- Conditionalize static subpackage during build-time
|
|
|
|
|