From 4e3fb7981d3884932f50142b364dbccb29733478 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Wed, 13 Jan 2021 01:27:07 +0000 Subject: [PATCH] Spec file cleanup --- dos2unix.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dos2unix.spec b/dos2unix.spec index 28c8943..e07ba50 100644 --- a/dos2unix.spec +++ b/dos2unix.spec @@ -3,8 +3,8 @@ Name: dos2unix Version: 7.4.2 Release: 1%{?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 @@ -21,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} @@ -35,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