robert pushed to perl-HTML-Restrict (epel9). "3.0.0 bump"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-01-31 23:59:33 UTC
From 19f81928b471649f5f66e168bf6aca5d9d87cfe3 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Jun 20 2019 10:30:40 +0000
Subject: 3.0.0 bump
---
diff --git a/perl-HTML-Restrict.spec b/perl-HTML-Restrict.spec
index 54393e0..44ea306 100644
--- a/perl-HTML-Restrict.spec
+++ b/perl-HTML-Restrict.spec
@@ -5,8 +5,8 @@
Summary: Perl module to strip unwanted HTML tags and attributes
Name: perl-HTML-Restrict
-Version: 2.5.0
-Release: 2%{?dist}
+Version: 3.0.0
+Release: 1%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{pkgname}
Source: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{pkgname}-v%{version}....
@@ -26,9 +26,8 @@ BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Moo) >= 1.002000
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Sub::Quote)
-BuildRequires: perl(Type::Library)
BuildRequires: perl(Type::Tiny) >= 1.002001
-BuildRequires: perl(Type::Utils)
+BuildRequires: perl(Types::Standard) >= 1.000001
BuildRequires: perl(URI)
BuildRequires: perl(namespace::clean)
BuildRequires: perl(version)
@@ -50,11 +49,11 @@ behaviour may be altered by supplying own tag rules.
%setup -q -n %{pkgname}-v%{version}
%build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
# Don't add dependencies for %%doc
@@ -71,6 +70,9 @@ make test
%{_mandir}/man3/*.3pm*
%changelog
+* Thu Jun 20 2019 Jitka Plesnikova <jplesnik(a)redhat.com> - 3.0.0-1
+- 3.0.0 bump
+
* Fri May 31 2019 Jitka Plesnikova <jplesnik(a)redhat.com> - 2.5.0-2
- Perl 5.30 rebuild
diff --git a/sources b/sources
index e5affb8..ba66850 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (HTML-Restrict-v2.5.0.tar.gz) = b220d83f41a6d2a816d30a8b62ea2729c8dacbc62c4f0d0e74c0cf12e9037d17742946a1d5badf4763045301175c20c681eb7ab8d1ce6cb3d2ab4d7fdc6fb36a
+SHA512 (HTML-Restrict-v3.0.0.tar.gz) = dd24cd04b38fda5d8e4ad214f5d27e2e7f868bd7880b05f57856b71f96146488a832379f4a59d30d6ba819274259787b2d4fee677515b6a4d3c4a28bdaf29348
https://src.fedoraproject.org/rpms/perl-HTML-Restrict/c/19f81928b471649f5...
2Â years, 2Â months
robert pushed to perl-HTML-Restrict (epel9). "Initial import"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-01-31 23:59:33 UTC
From d9883c1c7cc3fb72c33e7f49eba42344401ea31b Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert(a)fedoraproject.org>
Date: Apr 02 2018 20:58:50 +0000
Subject: Initial import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b797a63
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-Restrict-*.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 919859f..0000000
--- a/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# perl-HTML-Restrict
-
-A perl module that uses HTML::Parser to strip HTML from text in a
-restrictive manner. By default all HTML is restricted, but default
-behaviour may be altered by supplying own tag rules.
\ No newline at end of file
diff --git a/perl-HTML-Restrict.spec b/perl-HTML-Restrict.spec
new file mode 100644
index 0000000..95db469
--- /dev/null
+++ b/perl-HTML-Restrict.spec
@@ -0,0 +1,68 @@
+# Filter the Perl extension module
+%{?perl_default_filter}
+
+%global pkgname HTML-Restrict
+
+Summary: Perl module to strip unwanted HTML tags and attributes
+Name: perl-HTML-Restrict
+Version: 2.3.0
+Release: 1%{?dist}
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/%{pkgname}/
+Source: http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/%{pkgname}-v%{version...
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl-generators
+BuildRequires: perl-interpreter
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Data::Dump)
+BuildRequires: perl(HTML::Entities)
+BuildRequires: perl(HTML::Parser)
+BuildRequires: perl(List::Util) >= 1.33
+BuildRequires: perl(Moo) >= 1.002000
+BuildRequires: perl(Sub::Quote)
+BuildRequires: perl(Types::Standard) >= 1.000001
+BuildRequires: perl(URI)
+BuildRequires: perl(namespace::clean)
+BuildRequires: perl(version)
+# Tests only
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.22
+BuildRequires: perl(warnings)
+BuildArch: noarch
+
+%description
+A perl module that uses HTML::Parser to strip HTML from text in a
+restrictive manner. By default all HTML is restricted, but default
+behaviour may be altered by supplying own tag rules.
+
+%prep
+%setup -q -n %{pkgname}-v%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+# Don't add dependencies for %%doc
+chmod -x examples/sanitize_file.pl
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes CONTRIBUTORS README.md examples/sanitize_file.pl
+%{perl_vendorlib}/HTML/
+%{_mandir}/man3/*.3pm*
+
+%changelog
+* Sun Apr 01 2018 Robert Scheck <robert(a)fedoraproject.org> 2.3.0-1
+- Upgrade to 2.3.0 (#1562631)
+- Initial spec file for Fedora and Red Hat Enterprise Linux
diff --git a/sources b/sources
new file mode 100644
index 0000000..924a058
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (HTML-Restrict-v2.3.0.tar.gz) = 992efd27c2b632b43e50ca01c3b5ea4c2f59b46be4de745ee5c3e750bffd39a7296dd43777548cd5380993327d6745f00d4db087d6ce81da127c8784e00da3fa
https://src.fedoraproject.org/rpms/perl-HTML-Restrict/c/d9883c1c7cc3fb72c...
2Â years, 2Â months