Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
SOURCES/libieee1284-0.2.11.tar.bz2
|
libieee1284-0.2.8.tar.bz2
|
||||||
/libieee1284-0.2.11.tar.bz2
|
libieee1284-0.2.9.tar.bz2
|
||||||
|
libieee1284-0.2.11.tar.bz2
|
||||||
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
File diff suppressed because it is too large
Load Diff
128
libieee1284.spec
128
libieee1284.spec
@ -1,25 +1,15 @@
|
|||||||
%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: 28%{?dist}
|
Release: 46%{?dist}
|
||||||
License: GPLv2+
|
License: GPL-2.0-or-later
|
||||||
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
|
||||||
Patch2: libieee1284-aarch64.patch
|
BuildRequires: gcc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
%if %{with python2}
|
BuildRequires: make
|
||||||
BuildRequires: python2-devel
|
BuildRequires: libtool
|
||||||
%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.
|
||||||
@ -27,79 +17,101 @@ 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).
|
||||||
%patch1 -p1 -b .strict-aliasing
|
%patch -P 1 -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 \
|
%configure --without-python
|
||||||
%if %{without python2}
|
%make_build
|
||||||
--without-python
|
|
||||||
%endif # without python2
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make DESTDIR=%{buildroot} INSTALL="install -p" install
|
%make_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}/*/*
|
||||||
|
|
||||||
%if %{with python2}
|
%ldconfig_scriptlets
|
||||||
%files -n python2-libieee1284
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/python*/*/*.so
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 25 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.2.11-28
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.2.11-46
|
||||||
- Conditionalize the python2 subpackage
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
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
|
||||||
|
34
plans/tier1.fmf
Normal file
34
plans/tier1.fmf
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user