rpms/html401-dtds/devel html401-dtds-prepare-tarball.sh, NONE, 1.1 .cvsignore, 1.2, 1.3 html401-dtds.spec, 1.5, 1.6 sources, 1.2, 1.3

Ville Skyttä scop at fedoraproject.org
Fri Feb 20 20:55:08 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/html401-dtds/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28014/devel

Modified Files:
	.cvsignore html401-dtds.spec sources 
Added Files:
	html401-dtds-prepare-tarball.sh 
Log Message:
* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi>
- Prune nondistributable content from source tarball.



--- NEW FILE html401-dtds-prepare-tarball.sh ---
#!/bin/sh

set -e

# Prune content from upstream tarball:
# https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00015.html

date="19991224"
url="http://www.w3.org/TR/1999/REC-html401-$date/html40.tgz"

mkdir html401-dtds
cd html401-dtds

curl -O $url
tar zxf $(basename $url)
rm -r $(find . -maxdepth 1 -mindepth 1 -type d) $(basename $url)

cd ..
tar jcvf html401-dtds-$date.tar.bz2 html401-dtds
rm -r html401-dtds


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/html401-dtds/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	21 Jun 2006 06:54:00 -0000	1.2
+++ .cvsignore	20 Feb 2009 20:54:37 -0000	1.3
@@ -1 +1 @@
-html40.tgz
+html401-dtds-19991224.tar.bz2


Index: html401-dtds.spec
===================================================================
RCS file: /cvs/pkgs/rpms/html401-dtds/devel/html401-dtds.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- html401-dtds.spec	13 Aug 2007 11:48:19 -0000	1.5
+++ html401-dtds.spec	20 Feb 2009 20:54:37 -0000	1.6
@@ -8,7 +8,7 @@
 
 Name:           html401-dtds
 Version:        4.01
-Release:        %{date}.5
+Release:        %{date}.8
 Summary:        HTML 4.01 document type definitions
 
 Group:          Applications/Text
@@ -16,7 +16,9 @@
 # http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620#DTD
 License:        W3C
 URL:            http://www.w3.org/TR/1999/REC-html401-%{date}/
-Source0:        http://www.w3.org/TR/1999/REC-html401-%{date}/html40.tgz
+# Source0 generated with Source99, see comments in the script
+Source0:        %{name}-%{date}.tar.bz2
+Source99:       %{name}-prepare-tarball.sh
 Patch0:         %{name}-catalog.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -33,7 +35,7 @@
 
 
 %prep
-%setup -q -c
+%setup -q -n %{name}
 %patch0 -p0
 
 
@@ -77,6 +79,9 @@
 
 
 %changelog
+* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 4.01-19991224.8
+- Prune nondistributable content from source tarball.
+
 * Mon Aug 13 2007 Ville Skyttä <ville.skytta at iki.fi> - 4.01-19991224.5
 - Don't use %%{dist}.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/html401-dtds/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	21 Jun 2006 06:54:00 -0000	1.2
+++ sources	20 Feb 2009 20:54:37 -0000	1.3
@@ -1 +1 @@
-1ed76627ba80816079649f67023ec7ab  html40.tgz
+97b8858e7f8bcc69d52ee43ca30fa85e  html401-dtds-19991224.tar.bz2




More information about the fedora-extras-commits mailing list