summaryrefslogtreecommitdiffstats
path: root/php-htmLawed.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-htmLawed.spec')
-rw-r--r--php-htmLawed.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-htmLawed.spec b/php-htmLawed.spec
index d279bbb..7b97241 100644
--- a/php-htmLawed.spec
+++ b/php-htmLawed.spec
@@ -1,17 +1,17 @@
# remirepo/fedora spec file for php-htmLawed
#
-# Copyright (c) 2012-2016 Remi Collet
+# Copyright (c) 2012-2017 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
%global libname htmLawed
-%global libversion 1122
+%global libversion 12
Name: php-%{libname}
-Version: 1.1.22
-Release: 2%{?dist}
+Version: 1.2
+Release: 1%{?dist}
Summary: PHP code to purify and filter HTML
Group: Development/Libraries
License: LGPLv3 and GPLv2+
@@ -19,7 +19,6 @@ URL: http://www.bioinformatics.org/phplabware/internal_utilities/htmL
Source0: http://www.bioinformatics.org/phplabware/downloads/%{libname}%{libversion}.zip
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: php-ctype
@@ -56,17 +55,11 @@ chmod -x *
%install
-rm -rf %{buildroot}
install -d %{buildroot}%{_datadir}/php/%{libname}
install -pm 0644 %{libname}.php %{buildroot}%{_datadir}/php/%{libname}
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE*
%doc *README* *TESTCASE* htmLawedTest.php
@@ -74,6 +67,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Mar 30 2017 Remi Collet <remi@remirepo.net> - 1.2-1
+- Update to 1.2
+
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.22-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild