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> 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 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,15 @@
# #
%define cpan_name Data-Binary
Name: perl-Data-Binary Name: perl-Data-Binary
Version: 0.01 Version: 0.01
Release: 0 Release: 0
%define cpan_name Data-Binary
Summary: Simple detection of binary versus text in strings
License: Artistic-2.0 License: Artistic-2.0
Group: Development/Libraries/Perl Summary: Simple detection of binary versus text in strings
Url: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SN/SNKWATT/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/S/SN/SNKWATT/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires} %{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. pure Perl. For now, anyway.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@@ -56,7 +54,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc changes.txt README readme.txt %doc changes.txt README readme.txt
%changelog %changelog