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