8
0
2021-09-14 19:45:09 +00:00
committed by Git OBS Bridge
parent e43419da2d
commit 1c30e777dd
2 changed files with 11 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 14 19:44:38 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
- refresh spec file
-------------------------------------------------------------------
Wed Apr 3 07:46:33 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Binary
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,15 @@
#
%define cpan_name Data-Binary
Name: perl-Data-Binary
Version: 0.01
Release: 0
%define cpan_name Data-Binary
Summary: Simple detection of binary versus text in strings
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Summary: Simple detection of binary versus text in strings
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SN/SNKWATT/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
@@ -41,11 +39,11 @@ because the -T / -B functions are in C/XS, and this module is written in
pure Perl. For now, anyway.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -56,7 +54,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc changes.txt README readme.txt
%changelog