|
|
|
@ -1,15 +1,13 @@
|
|
|
|
|
Summary: Text file format converters
|
|
|
|
|
Name: dos2unix
|
|
|
|
|
Version: 7.4.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 7.4.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://waterlan.home.xs4all.nl/dos2unix.html
|
|
|
|
|
Source: https://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
URL: http://waterlan.home.xs4all.nl/dos2unix.html
|
|
|
|
|
Source: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: dos2unix-7.4.0-annocheck.patch
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
# perl modules, required for tests
|
|
|
|
|
BuildRequires: perl-Test-Harness perl-Test-Simple
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
Provides: unix2dos = %{version}-%{release}
|
|
|
|
|
Obsoletes: unix2dos < 5.1-1
|
|
|
|
|
|
|
|
|
@ -19,24 +17,23 @@ vice versa.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .annocheck
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build LDFLAGS="%{build_ldflags}"
|
|
|
|
|
export CC=gcc
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
|
|
# We add doc files manually to %%doc
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING.txt
|
|
|
|
|
%doc man/man1/dos2unix.htm ChangeLog.txt
|
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
|
%doc man/man1/dos2unix.htm ChangeLog.txt COPYING.txt
|
|
|
|
|
%doc NEWS.txt README.txt TODO.txt
|
|
|
|
|
%{_bindir}/dos2unix
|
|
|
|
|
%{_bindir}/mac2unix
|
|
|
|
@ -44,46 +41,12 @@ make test
|
|
|
|
|
%{_bindir}/unix2mac
|
|
|
|
|
%{_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
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 12 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 7.4.2-1
|
|
|
|
|
- Update to 7.4.2 (#1887599)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
* Tue Sep 24 2019 Tim Waugh <twaugh@redhat.com> - 7.4.1-1
|
|
|
|
|
- Update to 7.4.1 (#1755150)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 06 2019 Than Ngo <than@redhat.com> - 7.4.0-7
|
|
|
|
|
- Enable tests
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2018 Tim Waugh <twaugh@redhat.com> - 7.4.0-5
|
|
|
|
|
- Build requires gcc (bug #1603820).
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 08 2018 Tim Waugh <twaugh@redhat.com> - 7.4.0-3
|
|
|
|
|
- Fix build flags injection (bug #1573086).
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 12 2018 Than Ngo <than@redhat.com> - 7.4.0-3
|
|
|
|
|
- Fixed bz#1624104, annocheck distro flag failures in dos2unix
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|