diff --git a/dos2unix.spec b/dos2unix.spec index d87ef7e..bb1bcf0 100644 --- a/dos2unix.spec +++ b/dos2unix.spec @@ -1,14 +1,15 @@ Summary: Text file format converters Name: dos2unix Version: 7.4.2 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD -URL: http://waterlan.home.xs4all.nl/dos2unix.html -Source: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz +URL: https://waterlan.home.xs4all.nl/dos2unix.html +Source: https://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz BuildRequires: gcc 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 @@ -20,10 +21,10 @@ vice versa. %setup -q %build -make %{?_smp_mflags} LDFLAGS="%{build_ldflags}" +%make_build LDFLAGS="%{build_ldflags}" %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install # We add doc files manually to %%doc rm -rf $RPM_BUILD_ROOT%{_docdir} @@ -34,7 +35,8 @@ rm -rf $RPM_BUILD_ROOT%{_docdir} make test %files -f %{name}.lang -%doc man/man1/dos2unix.htm ChangeLog.txt COPYING.txt +%license COPYING.txt +%doc man/man1/dos2unix.htm ChangeLog.txt %doc NEWS.txt README.txt TODO.txt %{_bindir}/dos2unix %{_bindir}/mac2unix @@ -43,6 +45,9 @@ make test %{_mandir}/man1/*.1* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 7.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Oct 12 2020 Fedora Release Monitoring - 7.4.2-1 - Update to 7.4.2 (#1887599)