Compare commits

..

No commits in common. "c10s" and "c8s" have entirely different histories.
c10s ... c8s

7 changed files with 2743 additions and 115 deletions

View File

@ -1 +0,0 @@
1

5
.gitignore vendored
View File

@ -1,3 +1,2 @@
libieee1284-0.2.8.tar.bz2 SOURCES/libieee1284-0.2.11.tar.bz2
libieee1284-0.2.9.tar.bz2 /libieee1284-0.2.11.tar.bz2
libieee1284-0.2.11.tar.bz2

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

2682
libieee1284-aarch64.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,25 @@
%if 0%{?rhel} > 7
# Disable python2 build by default
%bcond_with python2
%else
%bcond_without python2
%endif
Summary: A library for interfacing IEEE 1284-compatible devices Summary: A library for interfacing IEEE 1284-compatible devices
Name: libieee1284 Name: libieee1284
Version: 0.2.11 Version: 0.2.11
Release: 46%{?dist} Release: 28%{?dist}
License: GPL-2.0-or-later License: GPLv2+
Group: System Environment/Libraries
URL: http://cyberelk.net/tim/libieee1284/ URL: http://cyberelk.net/tim/libieee1284/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch1: libieee1284-strict-aliasing.patch Patch1: libieee1284-strict-aliasing.patch
BuildRequires: gcc Patch2: libieee1284-aarch64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: make %if %{with python2}
BuildRequires: libtool BuildRequires: python2-devel
%endif # with python2
%description %description
The libieee1284 library is for communicating with parallel port devices. The libieee1284 library is for communicating with parallel port devices.
@ -17,101 +27,79 @@ The libieee1284 library is for communicating with parallel port devices.
%package devel %package devel
Summary: Files for developing applications that use libieee1284 Summary: Files for developing applications that use libieee1284
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
%description devel %description devel
The header files, static library, libtool library and man pages for The header files, static library, libtool library and man pages for
developing applications that use libieee1284. developing applications that use libieee1284.
%if %{with python2}
%package -n python2-libieee1284
%{?python_provide:%python_provide python2-libieee1284}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python extension module for libieee1284
Requires: %{name} = %{version}-%{release}
Group: System Environment/Libraries
%description -n python2-libieee1284
Python extension module for libieee1284. To use libieee1284 with Python,
use 'import ieee1284'.
%endif # with python2
%prep %prep
%setup -q %setup -q
# Fixed strict aliasing warnings (bug #605170). # Fixed strict aliasing warnings (bug #605170).
%patch -P 1 -p1 -b .strict-aliasing %patch1 -p1 -b .strict-aliasing
# Add support for building on aarch64 (bug #925774).
%patch2 -p1 -b .aarch64
%build %build
autoreconf -iv
touch doc/interface.xml touch doc/interface.xml
%configure --without-python %configure \
%make_build %if %{without python2}
--without-python
%endif # without python2
make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
%make_install make DESTDIR=%{buildroot} INSTALL="install -p" install
rm -f %{buildroot}%{_libdir}/python*/*/*a rm -f %{buildroot}%{_libdir}/python*/*/*a
rm -f %{buildroot}%{_libdir}/*.a rm -f %{buildroot}%{_libdir}/*.a
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root)
%doc README COPYING TODO AUTHORS NEWS %doc README COPYING TODO AUTHORS NEWS
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_bindir}/* %{_bindir}/*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/ieee1284.h %{_includedir}/ieee1284.h
%{_libdir}/*.so %{_libdir}/*.so
%{_mandir}/*/* %{_mandir}/*/*
%ldconfig_scriptlets %if %{with python2}
%files -n python2-libieee1284
%defattr(-,root,root)
%{_libdir}/python*/*/*.so
%endif # with python2
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.2.11-46 * Mon Jun 25 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.2.11-28
- Bump release for October 2024 mass rebuild: - Conditionalize the python2 subpackage
Resolves: RHEL-64018
* Mon Aug 05 2024 Michal Hlavinka <mhlavink@redhat.com> - 0.2.11-45
- change license tag to SPDX format (RHEL-52832)
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.2.11-44
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Aug 18 2021 Tim Waugh <twaugh@redhat.com> - 0.2.11-37
- Fix build on aarch64 with patch from Sérgio M. Basto (bug #1987649)
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.2.11-33
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.11-29
- Subpackage python2-libieee1284 has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-27 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1,34 +0,0 @@
---
summary: Tier1 plan for libieee1284
discover:
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/libieee1284
ref: master
filter: tier:1
prepare:
- how: shell
script: |
set -euxo pipefail
ENABLE_REPO_CMD="yum-config-manager --enable"
if command -v dnf >/dev/null 2>&1; then
ENABLE_REPO_CMD="dnf config-manager --set-enabled"
fi
${ENABLE_REPO_CMD} beaker-tasks || :
- how: shell
script: |
set -exuo pipefail
if [[ -f /etc/os-release ]]; then
. /etc/os-release
if [[ "${ID:-}" == "rhel" && "${VERSION_ID%%.*}" -ge 8 ]]; then
dnf config-manager --enable rhel-CRB
fi
fi
execute:
how: tmt

View File

@ -1 +1 @@
b8fff9f3d121531bc17430e3f4ea6ed0 libieee1284-0.2.11.tar.bz2 SHA512 (libieee1284-0.2.11.tar.bz2) = 06cc3049ce15613d34e39dc71bc572843c61ab64077c29ef9a6257edb0849c98565ff612a4cf787bc9642a39f1c89b7c47a20fb27f2318105be82aad8d472bb9