The latest revision - 20150831

Add test data - bug 1251921
This commit is contained in:
Yanko Kaneti 2015-09-01 10:39:10 +03:00
parent 9c5336ab8a
commit a1b226f691
3 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/effective_tld_names.dat
/index.txt
/public_suffix_list.dat
/test_psl.txt

View File

@ -1,4 +1,4 @@
%global revdate 20150731
%global revdate 20150831
Name: publicsuffix-list
Version: %{revdate}
@ -9,6 +9,7 @@ License: MPLv2.0
URL: https://publicsuffix.org/
Source0: https://publicsuffix.org/list/public_suffix_list.dat
Source1: https://www.mozilla.org/MPL/2.0/index.txt
Source2: https://github.com/publicsuffix/list/raw/master/tests/test_psl.txt
BuildArch: noarch
@ -24,6 +25,8 @@ tracked across sites.
%prep
%setup -c -T
# https://github.com/publicsuffix/list/pull/21
sed -i -e "s/'c.il\,/'c.il'\,/" %{SOURCE2}
cp -av %{SOURCE1} COPYING
@ -32,6 +35,7 @@ cp -av %{SOURCE1} COPYING
%install
install -m 644 -p -D %{SOURCE0} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/public_suffix_list.dat
install -m 644 -p -D %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/test_psl.txt
ln -s public_suffix_list.dat $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/effective_tld_names.dat
@ -41,6 +45,10 @@ ln -s public_suffix_list.dat $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/effective_
%changelog
* Tue Sep 1 2015 Yanko Kaneti <yaneti@declera.com> - 20150831-1
- The latest revision - 20150831
- Add test data - bug 1251921
* Mon Aug 3 2015 Yanko Kaneti <yaneti@declera.com> - 20150731-1
- The latest revision - 20150731
- Move to the new upstream filename. Install a compat symlink for now

View File

@ -1,2 +1,3 @@
bd44054e9268910830ca016503148ab1 public_suffix_list.dat
c19f5dedd58cb57844cf8a6266d06306 public_suffix_list.dat
5c045f3ebcddf12aa634417d48c96d54 test_psl.txt
815ca599c9df247a0c7f619bab123dad index.txt