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
This commit is contained in:
Lars Vogdt 2022-05-20 14:32:59 +00:00 committed by Git OBS Bridge
parent fe880e1545
commit 67d944efdf
2 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 13 14:41:40 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- URL -> https.
- Run spec-cleaner: mainly: package LICENSE as license, not doc.
-------------------------------------------------------------------
Wed Nov 8 19:43:45 UTC 2017 - aavindraa@gmail.com

View File

@ -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*