From af1fe1c9f5d4028e87b89cd078696fb3149c6620 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 18 Jan 2021 01:23:55 +0000 Subject: [PATCH] Spec file cleanup --- libunistring.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libunistring.spec b/libunistring.spec index b821147..51f5d0b 100644 --- a/libunistring.spec +++ b/libunistring.spec @@ -4,8 +4,8 @@ Release: 9%{?dist} Name: libunistring Summary: GNU Unicode string library License: GPLV2+ or LGPLv3+ -Url: http://www.gnu.org/software/libunistring/ -Source0: http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz +URL: https://www.gnu.org/software/libunistring/ +Source0: https://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz BuildRequires: gcc BuildRequires: make Provides: bundled(gnulib) @@ -19,7 +19,7 @@ case folding and regular expressions). %package devel Summary: GNU Unicode string library - development files -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for programs using libunistring. @@ -33,8 +33,8 @@ Development files for programs using libunistring. %install %make_install -rm -f $RPM_BUILD_ROOT/%{_infodir}/dir -rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}.la +rm -f $RPM_BUILD_ROOT%{_infodir}/dir +rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la # Move staged docs so not picked up by %%doc in main package mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name} __doc