From 67d944efdf2496cd90308f303db1c268e44a93456b73a0248b1582b43b4179f0 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Fri, 20 May 2022 14:32:59 +0000 Subject: [PATCH] Accepting request 977070 from home:dimstar:Factory - URL -> https. - Run spec-cleaner: mainly: package LICENSE as license, not doc. OBS-URL: https://build.opensuse.org/request/show/977070 OBS-URL: https://build.opensuse.org/package/show/Education/enca?expand=0&rev=36 --- enca.changes | 6 ++++++ enca.spec | 19 ++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/enca.changes b/enca.changes index 3c974ac..ce407e4 100644 --- a/enca.changes +++ b/enca.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 13 14:41:40 UTC 2022 - Dominique Leuenberger + +- URL -> https. +- Run spec-cleaner: mainly: package LICENSE as license, not doc. + ------------------------------------------------------------------- Wed Nov 8 19:43:45 UTC 2017 - aavindraa@gmail.com diff --git a/enca.spec b/enca.spec index c49c699..b188edc 100644 --- a/enca.spec +++ b/enca.spec @@ -1,7 +1,7 @@ # # spec file for package enca # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,10 +20,10 @@ Name: enca Version: 1.19 Release: 0 Summary: Detects encoding of text files -License: GPL-2.0 +License: GPL-2.0-only Group: Productivity/Other -Url: http://cihar.com/software/enca/ -Source: http://dl.cihar.com/%{name}/%{name}-%{version}.tar.xz +URL: https://cihar.com/software/enca/ +Source: https://dl.cihar.com/%{name}/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRequires: pkgconfig Requires: sed @@ -75,7 +75,7 @@ library. %build %configure --disable-static --without-librecode -make %{?_smp_mflags} +%make_build %install %make_install @@ -86,12 +86,13 @@ rm %{buildroot}/%{_libdir}/libenca.la %postun -n libenca0 -p /sbin/ldconfig %files -%doc AUTHORS COPYING ChangeLog* FAQ README THANKS TODO +%license COPYING +%doc AUTHORS ChangeLog* FAQ README THANKS TODO %{_bindir}/enca %{_bindir}/enconv %{_libexecdir}/enca -%{_mandir}/man1/enca.1%{ext_man} -%{_mandir}/man1/enconv.1%{ext_man} +%{_mandir}/man1/enca.1%{?ext_man} +%{_mandir}/man1/enconv.1%{?ext_man} %files -n libenca0 %{_libdir}/libenca.so.0*