|
|
|
@ -1,24 +1,32 @@
|
|
|
|
|
Summary: Text file format converters
|
|
|
|
|
Name: dos2unix
|
|
|
|
|
Version: 7.4.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
License: BSD
|
|
|
|
|
Version: 7.5.2
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: https://waterlan.home.xs4all.nl/dos2unix.html
|
|
|
|
|
Source: https://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
|
|
|
|
|
Source: https://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz.asc
|
|
|
|
|
Source: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x38C1F572B12725BE#./38C1F572B12725BE.asc
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
# perl modules, required for tests
|
|
|
|
|
BuildRequires: perl-Test-Harness perl-Test-Simple
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
# perl modules, required for tests
|
|
|
|
|
BuildRequires: perl-Test-Harness
|
|
|
|
|
BuildRequires: perl-Test-Simple
|
|
|
|
|
# for gpg signature verification
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
|
|
|
|
|
Provides: unix2dos = %{version}-%{release}
|
|
|
|
|
Obsoletes: unix2dos < 5.1-1
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Convert text files with DOS or Mac line endings to Unix line endings and
|
|
|
|
|
Convert text files with DOS or Mac line endings to Unix line endings and
|
|
|
|
|
vice versa.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build LDFLAGS="%{build_ldflags}"
|
|
|
|
@ -27,7 +35,7 @@ vice versa.
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
# We add doc files manually to %%doc
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}
|
|
|
|
|
rm -rf %{buildroot}%{_docdir}
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
|
|
|
|
|
@ -36,7 +44,7 @@ make test
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING.txt
|
|
|
|
|
%doc man/man1/dos2unix.htm ChangeLog.txt
|
|
|
|
|
%doc man/man1/dos2unix.htm ChangeLog.txt
|
|
|
|
|
%doc NEWS.txt README.txt TODO.txt
|
|
|
|
|
%{_bindir}/dos2unix
|
|
|
|
|
%{_bindir}/mac2unix
|
|
|
|
@ -45,12 +53,58 @@ make test
|
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 7.4.2-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 7.5.2-3
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 7.5.2-2
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 7.5.2-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Tim Waugh <twaugh@redhat.com> - 7.5.2-1
|
|
|
|
|
- Update to 7.5.2 (bug #2259911).
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 13 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 7.5.1-2
|
|
|
|
|
- Add gpg signature check
|
|
|
|
|
- Misc changes
|
|
|
|
|
|
|
|
|
|
* Wed Sep 20 2023 Tim Waugh <twaugh@redhat.com> - 7.5.1-1
|
|
|
|
|
- Update to 7.5.1 (bug #2235872).
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 18 2023 Tim Waugh <twaugh@redhat.com> - 7.5.0-1
|
|
|
|
|
- Update to 7.5.0 (bug #2208091).
|
|
|
|
|
|
|
|
|
|
* Tue Feb 21 2023 Than Ngo <than@redhat.com> - 7.4.4-2
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Mon Feb 13 2023 Tim Waugh <twaugh@redhat.com> - 7.4.4-1
|
|
|
|
|
- Update to 7.4.4 (bug #2169078).
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 7 2022 Tim Waugh <twaugh@redhat.com> - 7.4.3-1
|
|
|
|
|
- Update to 7.4.3 (bug #2093708).
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 7.4.2-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|