|
|
|
@ -1,16 +1,16 @@
|
|
|
|
|
Summary: Utilities for working with md5sum implanted in ISO images
|
|
|
|
|
Name: isomd5sum
|
|
|
|
|
Version: 1.2.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.2.3
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
|
|
|
|
|
Url: https://github.com/rhinstaller/isomd5sum
|
|
|
|
|
Source0: https://github.com/rhinstaller/%{name}/archive/%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: popt-devel
|
|
|
|
|
BuildRequires: python2-devel python3-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The isomd5sum package contains utilities for implanting and verifying
|
|
|
|
@ -18,7 +18,6 @@ an md5sum implanted into an ISO9660 image.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development headers and library for using isomd5sum
|
|
|
|
|
Group: Development/System
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
|
Provides: %{name}-static = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
@ -26,14 +25,6 @@ Provides: %{name}-static = %{epoch}:%{version}-%{release}
|
|
|
|
|
This contains header files and a library for working with the isomd5sum
|
|
|
|
|
implanting and checking.
|
|
|
|
|
|
|
|
|
|
%package -n python-isomd5sum
|
|
|
|
|
Summary: Python bindings for isomd5sum
|
|
|
|
|
Provides: python2-isomd5sum = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python-isomd5sum
|
|
|
|
|
The isomd5sum package contains utilities for implanting and verifying
|
|
|
|
|
an md5sum implanted into an ISO9660 image.
|
|
|
|
|
|
|
|
|
|
%package -n python3-isomd5sum
|
|
|
|
|
Summary: Python bindings for isomd5sum
|
|
|
|
|
|
|
|
|
@ -43,25 +34,18 @@ an md5sum implanted into an ISO9660 image.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
|
cp -a . %{py3dir}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -Wno-strict-aliasing"; export CFLAGS
|
|
|
|
|
PYTHON=%{__python2} make checkisomd5 implantisomd5 pyisomd5sum.so
|
|
|
|
|
LDFLAGS="$RPM_LD_FLAGS"; export LDFLAGS
|
|
|
|
|
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
|
PYTHON=%{__python3} make checkisomd5 implantisomd5 pyisomd5sum.so
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
PYTHON=%{__python2} make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel install-python
|
|
|
|
|
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
|
PYTHON=%{__python3} make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel install-python
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
@ -72,14 +56,66 @@ popd
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
%files -n python-isomd5sum
|
|
|
|
|
%{python2_sitearch}/pyisomd5sum.so
|
|
|
|
|
/usr/share/pkgconfig/isomd5sum.pc
|
|
|
|
|
|
|
|
|
|
%files -n python3-isomd5sum
|
|
|
|
|
%{python3_sitearch}/pyisomd5sum.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.2.3-9
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.2.3-7
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 14 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.2.3-4
|
|
|
|
|
- Subpackage python2-isomd5sum has been removed
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.2.3-2
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Tue Apr 10 2018 Brian C. Lane <bcl@redhat.com> - 1:1.2.3-1
|
|
|
|
|
- New Version 1.2.3 (bcl)
|
|
|
|
|
- Fix 32bit bug on large files (squimrel)
|
|
|
|
|
- Don't put DESTDIR in the isomd5sum.pc file (bcl)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 1:1.2.2-4
|
|
|
|
|
- Use LDFLAGS from redhat-rpm-config
|
|
|
|
|
|
|
|
|
|
* Mon Feb 19 2018 Brian C. Lane <bcl@redhat.com> - 1.2.2-3
|
|
|
|
|
- Add gcc BuildRequires for future minimal buildroot support
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 03 2017 Brian C. Lane <bcl@redhat.com> - 1:1.2.2-1
|
|
|
|
|
- Don't put DESTDIR in the isomd5sum.pc file
|
|
|
|
|
- New Version 1.2.2 (bcl)
|
|
|
|
|
- Fix aligned alloc parameters and overflow on 32bit size_t (#1497458) (squimrel)
|
|
|
|
|
- Fix memory leak (squimrel)
|
|
|
|
|
- Add pkgconfig file (squimrel)
|
|
|
|
|
- Remove line-breaks from error messages (squimrel)
|
|
|
|
|
- Make library C++ compatible (squimrel)
|
|
|
|
|
- Constify function signatures (squimrel)
|
|
|
|
|
- Revert checkCallback function signature (squimrel)
|
|
|
|
|
|
|
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.2.1-4
|
|
|
|
|
- Python 2 binary package renamed to python2-isomd5sum
|
|
|
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|