rpms/xhtml1-dtds/F-10 xhtml1-dtds-prepare-tarball.sh, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 xhtml1-dtds.spec, 1.6, 1.7

Ville Skyttä scop at fedoraproject.org
Fri Feb 20 21:14:20 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/xhtml1-dtds/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31713/F-10

Modified Files:
	.cvsignore sources xhtml1-dtds.spec 
Added Files:
	xhtml1-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 xhtml1-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

# While at it, prune docs as well; the W3C Documentation License is not an
# acceptable one per Fedora licensing guidelines.

date="20020801"
url="http://www.w3.org/TR/2002/REC-xhtml1-$date/xhtml1.tgz"

curl -O $url
tar zxf $(basename $url)
find xhtml1-$date -type f | grep -vF /DTD/ | xargs rm
rm $(basename $url)

tar jcvf xhtml1-dtds-$date.tar.bz2 xhtml1-$date
rm -r xhtml1-$date


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xhtml1-dtds/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	9 Sep 2004 14:46:04 -0000	1.2
+++ .cvsignore	20 Feb 2009 21:13:50 -0000	1.3
@@ -1 +1 @@
-xhtml1.tgz
+xhtml1-dtds-20020801.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xhtml1-dtds/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	9 Sep 2004 14:46:04 -0000	1.2
+++ sources	20 Feb 2009 21:13:50 -0000	1.3
@@ -1 +1 @@
-1fdad567eecb5deb8e32e3892cfe0074  xhtml1.tgz
+9ddff78860e395fd4623a4c42db3d497  xhtml1-dtds-20020801.tar.bz2


Index: xhtml1-dtds.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xhtml1-dtds/F-10/xhtml1-dtds.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xhtml1-dtds.spec	29 Feb 2008 18:16:46 -0000	1.6
+++ xhtml1-dtds.spec	20 Feb 2009 21:13:50 -0000	1.7
@@ -1,8 +1,8 @@
-%define         date 20020801
+%global date    20020801
 
 Name:           xhtml1-dtds
 Version:        1.0
-Release:        %{date}.1
+Release:        %{date}.1.2
 Summary:        XHTML 1.0 document type definitions
 
 Group:          Applications/Text
@@ -10,8 +10,10 @@
 # http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620#DTD
 License:        W3C
 URL:            http://www.w3.org/TR/2002/REC-xhtml1-%{date}/
-Source0:        http://www.w3.org/TR/2002/REC-xhtml1-%{date}/xhtml1.tgz
+# Source0 generated with Source99, see comments in the script
+Source0:        %{name}-%{date}.tar.bz2
 Source1:        %{name}.catalog.xml
+Source99:       %{name}-prepare-tarball.sh
 Patch0:         %{name}-sgml-catalog.patch
 Patch1:         %{name}-sgml-dcl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -122,6 +124,9 @@
 
 
 %changelog
+* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.0-20020801.1.2
+- Prune nondistributable content from source tarball.
+
 * Thu Feb 28 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-20020801.1
 - Major spec file rewrite (#226559), most visible changes:
 - Various XML cataloguing improvements.




More information about the fedora-extras-commits mailing list